From 649d37d14c17fcc8175e4130f6e5c073cea3c396 Mon Sep 17 00:00:00 2001 From: Lilleman Date: Mon, 14 Feb 2022 00:17:08 +0100 Subject: [PATCH] Remvoed test code --- README.md | 4 +--- tests/test-cases/01basic.js | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 5f41788..5276827 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,4 @@ Obtain an admin GWT: `curl -d '"api-key-goes-here"' -H "Content-Type: applicatio Use a bearer token to make a call: `curl -H "Content-Type: application/json" -H "Authorization: bearer your-JWT-token-goes-here" -i http://localhost:4000/account/{accountID}` -Create account: `curl -d '{"name": "Bosse", "password": "Hemligt", "fields": [{ "name":"role", "values":["user"]}]}' -H "Content-Type: application/json" -H "Authorization: bearer your-JWT-token-goes-here" -i http://localhost:4000/account` - -y \ No newline at end of file +Create account: `curl -d '{"name": "Bosse", "password": "Hemligt", "fields": [{ "name":"role", "values":["user"]}]}' -H "Content-Type: application/json" -H "Authorization: bearer your-JWT-token-goes-here" -i http://localhost:4000/account` \ No newline at end of file diff --git a/tests/test-cases/01basic.js b/tests/test-cases/01basic.js index 29d1465..408e3d2 100644 --- a/tests/test-cases/01basic.js +++ b/tests/test-cases/01basic.js @@ -167,6 +167,4 @@ test('test-cases/01basic.js: Remove an account', async t => { } catch (err) { t.equal(err.message, 'Response code 404 (Not Found)', 'Response status for GETing the account again should be 404'); } - - // Adding a comment just to modify the code, this can be removed. });