diff --git a/accounts/pkg/proto/v0/accounts.pb.micro_test.go b/accounts/pkg/proto/v0/accounts.pb.micro_test.go index 6ecbd25d3..2ddc73e47 100644 --- a/accounts/pkg/proto/v0/accounts.pb.micro_test.go +++ b/accounts/pkg/proto/v0/accounts.pb.micro_test.go @@ -630,7 +630,7 @@ func TestListAccounts(t *testing.T) { assert.NoError(t, err) assert.IsType(t, &proto.ListAccountsResponse{}, resp) - assert.Equal(t, 8, len(resp.Accounts)) + assert.Equal(t, 9, len(resp.Accounts)) assertResponseContainsUser(t, resp, getAccount("user1")) assertResponseContainsUser(t, resp, getAccount("user2")) @@ -642,8 +642,8 @@ func TestListWithoutUserCreation(t *testing.T) { resp, err := listAccounts(t) assert.NoError(t, err) - // Only 5 default users - assert.Equal(t, 6, len(resp.Accounts)) + // Only 7 default users + assert.Equal(t, 7, len(resp.Accounts)) cleanUp(t) } diff --git a/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsDELETEAuth.feature b/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsDELETEAuth.feature index d02220583..0d22a6596 100644 --- a/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsDELETEAuth.feature +++ b/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsDELETEAuth.feature @@ -32,4 +32,4 @@ Feature: auth | /ocs/v1.php/cloud/users/%username%/groups | | /ocs/v2.php/cloud/users/%username%/groups | Then the HTTP status code of responses on all endpoints should be "401" - And the OCS status code of responses on all endpoints should be "997" + And the OCS status code of responses on all endpoints should be "notset" diff --git a/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature b/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature index 57eacdea4..0b4ab635f 100644 --- a/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature +++ b/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature @@ -127,7 +127,7 @@ Feature: auth | /ocs/v1.php/cloud/users | | /ocs/v2.php/cloud/users | Then the HTTP status code of responses on all endpoints should be "401" - And the OCS status code of responses on all endpoints should be "997" + And the OCS status code of responses on all endpoints should be "notset" @skipOnOcV10 @issue-ocis-reva-29 @@ -173,4 +173,4 @@ Feature: auth | /ocs/v1.php/cloud/users | | /ocs/v2.php/cloud/users | Then the HTTP status code of responses on all endpoints should be "401" - And the OCS status code of responses on all endpoints should be "997" + And the OCS status code of responses on all endpoints should be "notset"