forked from forgejo/forgejo
[MODERATION] cope with shared fixtures
* There is one more issue in the fixtures and this breaks some tests * The users in the shared fixtures were renamed for clarity and that breaks some tests
This commit is contained in:
parent
7ee8db0f01
commit
707a4edbdf
2 changed files with 8 additions and 8 deletions
|
@ -84,7 +84,7 @@ func TestAPIOrgBlock(t *testing.T) {
|
|||
defer tests.PrepareTestEnv(t)()
|
||||
|
||||
user := "user5"
|
||||
org := "user6"
|
||||
org := "org6"
|
||||
session := loginUser(t, user)
|
||||
token := getTokenForLoggedInUser(t, session, auth_model.AccessTokenScopeWriteOrganization)
|
||||
|
||||
|
@ -163,7 +163,7 @@ func TestAPIOrgBlock(t *testing.T) {
|
|||
t.Run("Not as owner", func(t *testing.T) {
|
||||
defer tests.PrintCurrentTest(t)()
|
||||
|
||||
org := "user3"
|
||||
org := "org3"
|
||||
user := "user4" // Part of org team with write perms.
|
||||
|
||||
session := loginUser(t, user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue