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 c8fdcea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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": "http://identifier-search/search?q="
}
2 changes: 1 addition & 1 deletion test/search_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe("/search", function () {


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

var response = await request()
.post('/search')
Expand Down

0 comments on commit c8fdcea

Please sign in to comment.