Fixed namespace_user_tests
the build was successful Details

This commit is contained in:
konrad 2018-12-16 12:28:35 +01:00
parent 1631b989ba
commit dd1dd23777
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ func TestNamespaceUser_Create(t *testing.T) {
NamespaceID: 2,
},
wantErr: true,
errType: IsErrUserAlreadyHasAccess,
errType: IsErrUserAlreadyHasNamespaceAccess,
},
{
name: "NamespaceUsers Create with invalid right",
@ -97,7 +97,7 @@ func TestNamespaceUser_Create(t *testing.T) {
NamespaceID: 1,
},
wantErr: true,
errType: IsErrUserAlreadyHasAccess,
errType: IsErrUserAlreadyHasNamespaceAccess,
},
}
for _, tt := range tests {