[ARVADOS-WORKBENCH2] updated: 1.4.1-60-gdf4133dd
Git user
git at public.curoverse.com
Thu Oct 24 14:29:25 UTC 2019
Summary of changes:
src/store/auth/auth-action.test.ts | 15 ++++++++++++---
src/store/auth/auth-reducer.test.ts | 3 +++
2 files changed, 15 insertions(+), 3 deletions(-)
via df4133dde10614e53a41b16a5c6062c3d1777059 (commit)
from 0ac34fb81d10d664c7b7994612504f989d1c3d29 (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 df4133dde10614e53a41b16a5c6062c3d1777059
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Oct 24 10:29:16 2019 -0400
15530: Fix tests
diff --git a/src/store/auth/auth-action.test.ts b/src/store/auth/auth-action.test.ts
index 1ebc8db9..801d9e33 100644
--- a/src/store/auth/auth-action.test.ts
+++ b/src/store/auth/auth-action.test.ts
@@ -23,7 +23,7 @@ import { configureStore, RootStore } from "../store";
import createBrowserHistory from "history/createBrowserHistory";
import { mockConfig } from '~/common/config';
import { ApiActions } from "~/services/api/api-actions";
-import { ACCOUNT_LINK_STATUS_KEY} from '~/services/link-account-service/link-account-service';
+import { ACCOUNT_LINK_STATUS_KEY } from '~/services/link-account-service/link-account-service';
describe('auth-actions', () => {
let reducer: (state: AuthState | undefined, action: AuthAction) => any;
@@ -67,7 +67,16 @@ describe('auth-actions', () => {
sshKeys: [],
homeCluster: "zzzzz",
localCluster: "zzzzz",
- remoteHostsConfig: {},
+ loginCluster: undefined,
+ remoteHostsConfig: {
+ "zzzzz": {
+ "remoteHosts": {
+ "xc59z": "xc59z.arvadosapi.com",
+ },
+ "rootUrl": "https://zzzzz.arvadosapi.com",
+ "uuidPrefix": "zzzzz",
+ },
+ },
remoteHosts: {
zzzzz: "zzzzz.arvadosapi.com",
xc59z: "xc59z.arvadosapi.com"
@@ -89,7 +98,7 @@ describe('auth-actions', () => {
"email": "",
"loggedIn": false,
"remoteHost": "xc59z.arvadosapi.com",
- "status": 0,
+ "status": 1,
"token": "",
"username": ""
}],
diff --git a/src/store/auth/auth-reducer.test.ts b/src/store/auth/auth-reducer.test.ts
index 14d92803..8311e861 100644
--- a/src/store/auth/auth-reducer.test.ts
+++ b/src/store/auth/auth-reducer.test.ts
@@ -43,6 +43,7 @@ describe('auth-reducer', () => {
sessions: [],
homeCluster: "zzzzz",
localCluster: "",
+ loginCluster: "",
remoteHosts: {},
remoteHostsConfig: {}
});
@@ -59,6 +60,7 @@ describe('auth-reducer', () => {
sessions: [],
homeCluster: "",
localCluster: "",
+ loginCluster: "",
remoteHosts: {},
remoteHostsConfig: {}
});
@@ -86,6 +88,7 @@ describe('auth-reducer', () => {
sessions: [],
homeCluster: "",
localCluster: "",
+ loginCluster: "",
remoteHosts: {},
remoteHostsConfig: {},
user: {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list