Skip to content

Commit

Permalink
Fix search test and test config
Browse files Browse the repository at this point in the history
* Update to correct config variable in test.json
    Follow up to 632ea8d
* Move test.json to test.json5
    Follow up to b5c2c60
* Remove unneccesary line in search test now config
var has been fixed

Change-Id: I6a731492dcd8ccd521f804665a8a6988246f9f71
  • Loading branch information
mvolz committed Oct 10, 2023
1 parent cf96d57 commit 387e1b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions config/test.json

This file was deleted.

4 changes: 4 additions & 0 deletions config/test.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"testPort": 3456,
"identifierSearchLambda": "IdentifierSearch"
}
2 changes: 0 additions & 2 deletions test/search_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ describe("/search", function () {


it("should perform a text search", async function () {
config.identifierSearchLambda = 'IdentifierSearch';

var response = await request()
.post('/search')
.set('Content-Type', 'text/plain')
Expand Down

0 comments on commit 387e1b6

Please sign in to comment.