Skip to content

Commit

Permalink
fix: query param missing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaitor committed Oct 20, 2023
1 parent c8f37de commit 1e4c8fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/external/Services_NFT1155.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ describe('Gate-keeping of Web Services using NFT ERC-1155 End-to-End', () => {
it('should be able to retrieve services associated with a subscription filtering by endpoints', async () => {
const result = await nevermined.search.servicesBySubscription(
subscriptionDDO.id,
NeverminedNFT1155Type.nft1155Credit,
endpointsFilter,
)
assert.equal(result.totalResults.value, 1)
Expand All @@ -553,6 +554,7 @@ describe('Gate-keeping of Web Services using NFT ERC-1155 End-to-End', () => {
it('should not be able to retrieve any services associated with a subscription filtering by endpoints which do not exist', async () => {
const result = await nevermined.search.servicesBySubscription(
subscriptionDDO.id,
NeverminedNFT1155Type.nft1155Credit,
endpointsFilter2,
)
assert.equal(result.totalResults.value, 0)
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"integration:e2e:mumbai": "export NETWORK_NAME=mumbai; yarn integration:e2e",
"integration:compute": "mocha --config integration/.mocharc.json ./integration/compute/Compute*.test.ts",
"integration:external": "mocha --config integration/.mocharc.json ./integration/external/*.test.ts",
"integration:external-services": "mocha --config integration/.mocharc.json integration/external/Services_NFT1155.e2e.test.ts",
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
"lint": "eslint ./",
"lint:fix": "eslint ./ --fix",
Expand Down

0 comments on commit 1e4c8fb

Please sign in to comment.