[ARVADOS-WORKBENCH2] updated: 1.2.1-1060-g3fe29b3
Git user
git at public.curoverse.com
Thu Nov 29 06:31:54 EST 2018
Summary of changes:
src/store/auth/auth-actions.test.ts | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
via 3fe29b3b329b7d61fe8740c02d6f84454d9c310b (commit)
from f880dbab588eff4a3623011e3f1bd4407eda4cca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 3fe29b3b329b7d61fe8740c02d6f84454d9c310b
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Thu Nov 29 12:31:44 2018 +0100
refs #master fix auth actions test
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/store/auth/auth-actions.test.ts b/src/store/auth/auth-actions.test.ts
index 231c37b..3d6913a 100644
--- a/src/store/auth/auth-actions.test.ts
+++ b/src/store/auth/auth-actions.test.ts
@@ -10,7 +10,8 @@ import {
USER_FIRST_NAME_KEY,
USER_LAST_NAME_KEY,
USER_OWNER_UUID_KEY,
- USER_UUID_KEY
+ USER_UUID_KEY,
+ USER_IS_ADMIN
} from "~/services/auth-service/auth-service";
import 'jest-localstorage-mock';
@@ -42,6 +43,7 @@ describe('auth-actions', () => {
localStorage.setItem(USER_LAST_NAME_KEY, "Doe");
localStorage.setItem(USER_UUID_KEY, "uuid");
localStorage.setItem(USER_OWNER_UUID_KEY, "ownerUuid");
+ localStorage.setItem(USER_IS_ADMIN, JSON.stringify(false));
store.dispatch(initAuth());
@@ -53,7 +55,8 @@ describe('auth-actions', () => {
firstName: "John",
lastName: "Doe",
uuid: "uuid",
- ownerUuid: "ownerUuid"
+ ownerUuid: "ownerUuid",
+ isAdmin: false
}
});
});
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list