Skip to content

Commit

Permalink
refactor: ♻️ change from NCBIGENE to NCBIGene for all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinxin90 committed Apr 27, 2021
1 parent 88d6035 commit f60a0ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __test__/integration/TRAPIv1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe("Testing endpoints", () => {
expect(response.body.message).toHaveProperty("knowledge_graph");
expect(response.body.message.knowledge_graph).toHaveProperty("nodes");
expect(response.body.message.knowledge_graph).toHaveProperty("edges");
expect(response.body.message.knowledge_graph.nodes).toHaveProperty("NCBIGENE:1017")
expect(response.body.message.knowledge_graph.nodes).toHaveProperty("NCBIGene:1017")
})
})

Expand Down
2 changes: 1 addition & 1 deletion __test__/integration/routes/v1query_by_api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe("Testing /v1/smartapi/{smartapi_id}/query endpoints", () => {
.expect(200)
.expect('Content-Type', /json/)
.then(response => {
expect(response.body.message.knowledge_graph.nodes).toHaveProperty("NCBIGENE:6530")
expect(response.body.message.knowledge_graph.nodes).toHaveProperty("NCBIGene:6530")
})
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"nodes": {
"n0": {
"category": "biolink:Gene",
"id": "NCBIGENE:1017"
"id": "NCBIGene:1017"
},
"n1": {
"category": "biolink:ChemicalSubstance"
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/query_with_node_to_be_expanded.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"query_graph": {
"nodes": {
"n0": {
"id": "NCBIGENE:1017",
"id": "NCBIGene:1017",
"category": "biolink:Gene"
},
"n1": {
Expand Down

0 comments on commit f60a0ce

Please sign in to comment.