Skip to content

Commit

Permalink
test: 💍 update ver for latest rest/sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
sansan committed Jan 30, 2025
1 parent 4039380 commit ce68f5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions envs/6.3.0.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CHAIN_IMAGE=polymeshassociation/polymesh:6.3.0-staging-debian
SUBQUERY_INDEXER_IMAGE=polymeshassociation/polymesh-subquery:v15.1.0-alpha.2
SUBQUERY_INDEXER_IMAGE=polymeshassociation/polymesh-subquery:v17.0.1

SUBQUERY_QUERY_IMAGE=onfinality/subql-query:v2.11.0
REST_IMAGE=polymeshassociation/polymesh-rest-api:v5.5.0-alpha.1
REST_IMAGE=polymeshassociation/polymesh-rest-api:v6.1.0-alpha.1
6 changes: 2 additions & 4 deletions src/__tests__/rest/claims/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ describe('CustomClaim', () => {
});
});

// TODO: re-enable once REST API is updated with latest alpha
it.skip('should list Claims issued by an identity', async () => {
it('should list Claims issued by an identity', async () => {
const result = await restClient.identities.getIssuedClaims(issuerDid);

expect(result).toMatchObject({
Expand All @@ -88,8 +87,7 @@ describe('CustomClaim', () => {
});
});

// TODO: re-enable once REST API is updated with latest alpha
it.skip('should list Claims associated with an identity', async () => {
it('should list Claims associated with an identity', async () => {
const result = await restClient.identities.getAssociatedClaims(targetDid);

expect(result).toMatchObject({
Expand Down
3 changes: 1 addition & 2 deletions src/__tests__/rest/claims/customClaim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ describe('CustomClaim', () => {
});
});

// TODO: re-enable once SDK supports scope retrieval for custom claims
it.skip('should find claim scopes by did', async () => {
it('should find claim scopes by did', async () => {
const result = await restClient.identities.findClaimScopesByDid(targetDid);

expect(result).toMatchObject({
Expand Down

0 comments on commit ce68f5b

Please sign in to comment.