[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Update configs and test script
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Update configs and test script |
Date: |
Thu, 25 Jun 2020 07:06:15 +0200 |
This is an automated email from the git hooks/post-receive script.
heng-yeow pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 00b2a27 Update configs and test script
00b2a27 is described below
commit 00b2a27a58719ac7e02ce3d3019f866bb9195a48
Author: tanhengyeow <E0032242@u.nus.edu>
AuthorDate: Thu Jun 25 13:06:01 2020 +0800
Update configs and test script
---
.gitignore | 1 +
frontend/craco.config.js | 1 +
frontend/src/actions/auth.tsx | 6 +++---
integration-tests/start-testenv.py | 7 ++++---
4 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.gitignore b/.gitignore
index eb82cd2..3a4ba95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ presentation/*.toc
.idea/misc.xml
__pycache__
*.log
+.DS_Store
diff --git a/frontend/craco.config.js b/frontend/craco.config.js
index e01c6ba..3d35426 100644
--- a/frontend/craco.config.js
+++ b/frontend/craco.config.js
@@ -13,6 +13,7 @@ module.exports = {
'@menu-item-padding': '0 120px',
'@menu-bg': 'none',
'@menu-item-font-size': '16px',
+ '@collapse-content-bg': '#f0f2f5',
},
javascriptEnabled: true,
},
diff --git a/frontend/src/actions/auth.tsx b/frontend/src/actions/auth.tsx
index 31f767f..5dba687 100644
--- a/frontend/src/actions/auth.tsx
+++ b/frontend/src/actions/auth.tsx
@@ -35,7 +35,7 @@ export const login = (nexusURL: string, username: string,
password: string) => {
if (response.ok) {
return response.json();
}
- throw 'Cannot connect to server';
+ throw new Error('Cannot connect to server');
})
.then(async () => {
await window.localStorage.setItem('authenticated', 'true');
@@ -45,8 +45,8 @@ export const login = (nexusURL: string, username: string,
password: string) => {
);
dispatch(authenticate());
})
- .catch((err) => {
- throw new Error(err);
+ .catch((err: Error) => {
+ throw err;
});
}
};
diff --git a/integration-tests/start-testenv.py
b/integration-tests/start-testenv.py
index 960ceb5..386a63b 100755
--- a/integration-tests/start-testenv.py
+++ b/integration-tests/start-testenv.py
@@ -350,18 +350,19 @@ assertResponse(
# )
# )
+print("fetching")
-# # 2.c, fetch bank account information
+# 2.c, fetch bank account information
assertResponse(
post(
- "http://localhost:5001/bank-connections/my-ebics-1/accounts/fetch",
+ "http://localhost:5001/bank-connections/my-ebics-1/fetch-accounts",
json=dict(),
headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
)
)
assertResponse(
post(
- "http://localhost:5001/bank-connections/my-ebics-2/accounts/fetch",
+ "http://localhost:5001/bank-connections/my-ebics-2/fetch-accounts",
json=dict(),
headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Update configs and test script,
gnunet <=