Merge branch 'master' into 14452-my-account
[arvados-workbench2.git] / src / store / auth / auth-actions.test.ts
index 4f1b3cf35daf00b9d653f5912d2cac7370151e31..aeee2b3b7c8f66d90b4e26c6bb4c09a3c10337e2 100644 (file)
@@ -43,7 +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, "isAdmin");
+        localStorage.setItem(USER_IS_ADMIN, JSON.stringify("false"));
 
         store.dispatch(initAuth());
 
@@ -56,7 +56,7 @@ describe('auth-actions', () => {
                 lastName: "Doe",
                 uuid: "uuid",
                 ownerUuid: "ownerUuid",
-                isAdmin: true
+                isAdmin: false
             }
         });
     });