[ARVADOS-WORKBENCH2] updated: 2.1.0-205-g7d797c64
Git user
git at public.arvados.org
Wed Feb 17 23:31:23 UTC 2021
Summary of changes:
src/store/auth/auth-action.test.ts | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
via 7d797c647a094822bc4f79be2715f47020e479d1 (commit)
from 211054b9494b034611467321203618d8fbdf05e2 (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 7d797c647a094822bc4f79be2715f47020e479d1
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Wed Feb 17 20:31:07 2021 -0300
16848: Fixes unit test.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/src/store/auth/auth-action.test.ts b/src/store/auth/auth-action.test.ts
index 616f2d2c..79f93daa 100644
--- a/src/store/auth/auth-action.test.ts
+++ b/src/store/auth/auth-action.test.ts
@@ -9,7 +9,7 @@ import 'jest-localstorage-mock';
import { ServiceRepository, createServices } from "~/services/services";
import { configureStore, RootStore } from "../store";
import { createBrowserHistory } from "history";
-import { mockConfig } from '~/common/config';
+import { Config, 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 Axios from "axios";
@@ -84,6 +84,9 @@ describe('auth-actions', () => {
uuidPrefix: "zzzzz",
remoteHosts: { xc59z: "xc59z.arvadosapi.com" },
apiRevision: 12345678,
+ clusterConfig: {
+ Login: { LoginCluster: "" },
+ },
};
store.dispatch(initAuth(config));
@@ -100,6 +103,11 @@ describe('auth-actions', () => {
apiToken: "token",
config: {
apiRevision: 12345678,
+ clusterConfig: {
+ Login: {
+ LoginCluster: "",
+ },
+ },
remoteHosts: {
"xc59z": "xc59z.arvadosapi.com",
},
@@ -107,12 +115,18 @@ describe('auth-actions', () => {
uuidPrefix: "zzzzz",
},
sshKeys: [],
+ extraApiToken: undefined,
homeCluster: "zzzzz",
localCluster: "zzzzz",
loginCluster: undefined,
remoteHostsConfig: {
"zzzzz": {
"apiRevision": 12345678,
+ "clusterConfig": {
+ "Login": {
+ "LoginCluster": "",
+ },
+ },
"remoteHosts": {
"xc59z": "xc59z.arvadosapi.com",
},
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list