18946: Fix unit tests
authorPeter Amstutz <peter.amstutz@curii.com>
Mon, 14 Aug 2023 18:08:39 +0000 (14:08 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Mon, 14 Aug 2023 18:08:39 +0000 (14:08 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

src/store/auth/auth-action.test.ts

index cba93965892d037dc49f67e3c9e8126c49096db7..ede419251bc052cf3cd6f231b3461c31dd67f945 100644 (file)
@@ -83,10 +83,11 @@ describe('auth-actions', () => {
         const config: any = {
             rootUrl: "https://zzzzz.example.com",
             uuidPrefix: "zzzzz",
-            remoteHosts: { },
+            remoteHosts: {},
             apiRevision: 12345678,
             clusterConfig: {
                 Login: { LoginCluster: "" },
+                Workbench: { UserProfileFormFields: {} }
             },
         };
 
@@ -162,6 +163,7 @@ describe('auth-actions', () => {
             apiRevision: 12345678,
             clusterConfig: {
                 Login: { LoginCluster: "zzzz1" },
+                Workbench: { UserProfileFormFields: {} }
             },
         };
 
@@ -226,6 +228,7 @@ describe('auth-actions', () => {
             apiRevision: 12345678,
             clusterConfig: {
                 Login: { LoginCluster: "" },
+                Workbench: { UserProfileFormFields: {} }
             },
         };
 
@@ -249,6 +252,7 @@ describe('auth-actions', () => {
                                 Login: {
                                     LoginCluster: "",
                                 },
+                                Workbench: { UserProfileFormFields: {} }
                             },
                             remoteHosts: {
                                 "xc59z": "xc59z.example.com",
@@ -269,6 +273,7 @@ describe('auth-actions', () => {
                                     "Login": {
                                         "LoginCluster": "",
                                     },
+                                    Workbench: { UserProfileFormFields: {} }
                                 },
                                 "remoteHosts": {
                                     "xc59z": "xc59z.example.com",