[ARVADOS-WORKBENCH2] updated: 1.3.0-35-ge8d0bf0

Git user git at public.curoverse.com
Fri Dec 7 06:22:17 EST 2018


Summary of changes:
 src/store/auth/auth-actions.test.ts | 6 +++++-
 src/store/auth/auth-reducer.test.ts | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

       via  e8d0bf057c2f86902b7658ab09d70dc517e5bf2e (commit)
      from  fa1f1c301a58d163e452ca9d14d326934a403f17 (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 e8d0bf057c2f86902b7658ab09d70dc517e5bf2e
Author: Pawel Kromplewski <pawel.kromplewski at contractors.roche.com>
Date:   Fri Dec 7 12:21:54 2018 +0100

    Fix tests
    
    Feature #14452
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kromplewski <pawel.kromplewski at contractors.roche.com>

diff --git a/src/store/auth/auth-actions.test.ts b/src/store/auth/auth-actions.test.ts
index aeee2b3..ed22379 100644
--- a/src/store/auth/auth-actions.test.ts
+++ b/src/store/auth/auth-actions.test.ts
@@ -11,7 +11,7 @@ import {
     USER_LAST_NAME_KEY,
     USER_OWNER_UUID_KEY,
     USER_UUID_KEY,
-    USER_IS_ADMIN
+    USER_IS_ADMIN, USER_IDENTITY_URL, USER_PREFS
 } from "~/services/auth-service/auth-service";
 
 import 'jest-localstorage-mock';
@@ -42,6 +42,8 @@ describe('auth-actions', () => {
         localStorage.setItem(USER_FIRST_NAME_KEY, "John");
         localStorage.setItem(USER_LAST_NAME_KEY, "Doe");
         localStorage.setItem(USER_UUID_KEY, "uuid");
+        localStorage.setItem(USER_IDENTITY_URL, "identityUrl");
+        localStorage.setItem(USER_PREFS, JSON.stringify({}));
         localStorage.setItem(USER_OWNER_UUID_KEY, "ownerUuid");
         localStorage.setItem(USER_IS_ADMIN, JSON.stringify("false"));
 
@@ -56,6 +58,8 @@ describe('auth-actions', () => {
                 lastName: "Doe",
                 uuid: "uuid",
                 ownerUuid: "ownerUuid",
+                identityUrl: "identityUrl",
+                prefs: {},
                 isAdmin: false
             }
         });
diff --git a/src/store/auth/auth-reducer.test.ts b/src/store/auth/auth-reducer.test.ts
index b9f768f..eb7e0c0 100644
--- a/src/store/auth/auth-reducer.test.ts
+++ b/src/store/auth/auth-reducer.test.ts
@@ -77,6 +77,8 @@ describe('auth-reducer', () => {
                 lastName: "Doe",
                 uuid: "uuid",
                 ownerUuid: "ownerUuid",
+                identityUrl: "identityUrl",
+                prefs: {},
                 isAdmin: false
             }
         });

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list