Skip to content

Commit

Permalink
WIP Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Oct 29, 2024
1 parent 6f520ef commit c411fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/server/adapter/asn/asn.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("ASN Adapter", function() {

before(async ()=>{
try{
await fetch("http://localhost/api/data/70d27b782c062d1280b240890141dcf6");
await fetch(`${process.env.CASS_LOOPBACK || "http://localhost/api/"}data/70d27b782c062d1280b240890141dcf6`);
}
catch(err){
let onet = await (await fetch("https://www.onetcenter.org/ctdlasn/graph/ce-07c25f74-9119-11e8-b852-782bcb5df6ac")).json();
Expand All @@ -30,6 +30,6 @@ describe("ASN Adapter", function() {
});

it('conversion to ASN', async () => {
await fetch("http://localhost/api/asn/70d27b782c062d1280b240890141dcf6")
await fetch(`${process.env.CASS_LOOPBACK || "http://localhost/api/"}asn/70d27b782c062d1280b240890141dcf6`)
}).timeout(30000);
});

0 comments on commit c411fab

Please sign in to comment.