Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add description of test debitoor account to the readme

  • Loading branch information...
commit 2e3dd008e2315fcb6c66a3a469e66b3763246143 1 parent 15a2175
@andriykuba authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  README.md
  2. +2 −2 config/public.json
View
2  README.md
@@ -267,6 +267,8 @@ Main accent is done on the functional testing. We did test for all endpoints, in
We do not recommend to change test database and test users in the `public.json` file. If you decide to change test user, do not forget to check that `test/tools.js` contains correct user name and password for `auth`, `authAnother`, `authWrong` variables.
+Trivially you tests on another host than production. So it's better register a special "test" application on Debitoor for correct callback URL.
+
### Structure
As usual, our tests are situated in the `test` folder. This folder has `data` subfolder with some test data, they are too complicated to be included directly in the test code. A short description is:
View
4 config/public.json
@@ -35,8 +35,8 @@
"debitoor":{
"authorizationURL": "https://app.debitoor.com/login/oauth2/authorize",
"tokenURL": "https://app.debitoor.com/login/oauth2/access_token",
- "callbackURL": "https://127.0.0.1:3000/",
- "redirectUrl": "https://127.0.0.1:3000/",
+ "callbackURL": "https://127.0.0.1:443/",
+ "redirectUrl": "https://127.0.0.1:443/",
"clientID": "real-in-the-private-config",
"clientSecret": "real-in-the-private-config",
"api":{
Please sign in to comment.
Something went wrong with that request. Please try again.