Skip to content

Commit

Permalink
fixup! feat(cardano-services): create TypeormAssetProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
mkazlauskas committed Sep 14, 2023
1 parent bddbe0b commit 4be97d5
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions packages/cardano-services/test/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import {
createUnhealthyMockOgmiosServer,
ogmiosServerReady,
serverStarted,
servicesWithVersionPath as services,
servicesWithVersionPath
servicesWithVersionPath as services
} from './util';
import { createLogger } from '@cardano-sdk/util-dev';
import { fromSerializableObject } from '@cardano-sdk/util';
Expand Down Expand Up @@ -2148,10 +2147,9 @@ describe('CLI', () => {
);
await serverStarted(apiUrl);
const headers = { 'Content-Type': 'application/json' };
const res = await axios.post(
`${apiUrl}${servicesWithVersionPath.stakePool.versionPath}/${ServiceNames.StakePool}/health`,
{ headers }
);
const res = await axios.post(`${apiUrl}${services.stakePool.versionPath}/${ServiceNames.StakePool}/health`, {
headers
});
expect(res.status).toBe(200);
});

Expand All @@ -2175,10 +2173,9 @@ describe('CLI', () => {
);
await serverStarted(apiUrl);
const headers = { 'Content-Type': 'application/json' };
const res = await axios.post(
`${apiUrl}${servicesWithVersionPath.asset.versionPath}/${ServiceNames.Asset}/health`,
{ headers }
);
const res = await axios.post(`${apiUrl}${services.asset.versionPath}/${ServiceNames.Asset}/health`, {
headers
});
expect(res.status).toBe(200);
});
});
Expand Down

0 comments on commit 4be97d5

Please sign in to comment.