summaryrefslogtreecommitdiffstats
path: root/tests/integration/api_admin_org_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/api_admin_org_test.go')
-rw-r--r--tests/integration/api_admin_org_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_admin_org_test.go b/tests/integration/api_admin_org_test.go
index 720f6fc6b6..a8770db4ca 100644
--- a/tests/integration/api_admin_org_test.go
+++ b/tests/integration/api_admin_org_test.go
@@ -37,7 +37,7 @@ func TestAPIAdminOrgCreate(t *testing.T) {
var apiOrg api.Organization
DecodeJSON(t, resp, &apiOrg)
- assert.Equal(t, org.UserName, apiOrg.UserName)
+ assert.Equal(t, org.UserName, apiOrg.Name)
assert.Equal(t, org.FullName, apiOrg.FullName)
assert.Equal(t, org.Description, apiOrg.Description)
assert.Equal(t, org.Website, apiOrg.Website)