From 4904f61d4bc6d72efebfb8f8aeabeb2431acea1d Mon Sep 17 00:00:00 2001 From: Fabi <38692350+fgerschwiler@users.noreply.github.com> Date: Tue, 6 Apr 2021 16:43:49 +0200 Subject: [PATCH] fix: token fix (#1534) * fix: check org id missing * fix: check org id missing --- internal/command/user_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/internal/command/user_test.go b/internal/command/user_test.go index 061f71c2fc..5431f9265d 100644 --- a/internal/command/user_test.go +++ b/internal/command/user_test.go @@ -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{