fix: token fix (#1534)

* fix: check org id missing

* fix: check org id missing
This commit is contained in:
Fabi 2021-04-06 16:43:49 +02:00 committed by GitHub
parent 3e98cc74b5
commit 4904f61d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1114,22 +1114,6 @@ func TestCommandSide_AddUserToken(t *testing.T) {
err: caos_errs.IsErrorInvalidArgument,
},
},
{
name: "orgid missing, invalid argument error",
fields: fields{
eventstore: eventstoreExpect(
t,
),
},
args: args{
ctx: context.Background(),
orgID: "",
userID: "user1",
},
res: res{
err: caos_errs.IsErrorInvalidArgument,
},
},
{
name: "user not existing, not found error",
fields: fields{