Skip to content

Commit 6c46f27

Browse files
committed
Fix admin org module consumers tests
1 parent c521b26 commit 6c46f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin_organization_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func TestAdminOrganizations_ModuleConsumers(t *testing.T) {
158158
defer org1TestCleanup()
159159

160160
err := client.Admin.Organizations.UpdateModuleConsumers(ctx, org1.Name, []string{"1Hello!"})
161-
assert.EqualError(t, err, ErrInvalidOrg.Error())
161+
assert.Error(t, err, "Organization 1Hello! not found")
162162
})
163163

164164
t.Run("can list and update module consumers", func(t *testing.T) {

0 commit comments

Comments
 (0)