diff --git a/packages/restapi/tests/lib/channel/subscribeV2.test.ts b/packages/restapi/tests/lib/channel/subscribeV2.test.ts index 163a14eee..097406581 100644 --- a/packages/restapi/tests/lib/channel/subscribeV2.test.ts +++ b/packages/restapi/tests/lib/channel/subscribeV2.test.ts @@ -29,7 +29,7 @@ describe('PUSH_CHANNEL.subscribeV2 functionality', () => { userAddress: `eip155:11155111:${account1}`, env: CONSTANTS.ENV.STAGING, }); - expect(res.status).to.be.equal('success'); + expect(res.status).to.be.equal(204); }); it('Should unsubscribe to the channel via V2 without settings', async () => { @@ -39,8 +39,8 @@ describe('PUSH_CHANNEL.subscribeV2 functionality', () => { userAddress: `eip155:11155111:${account1}`, env: CONSTANTS.ENV.STAGING, }); - console.log(res) - expect(res.status).to.be.equal('success'); + // console.log(res) + expect(res.status).to.be.equal(204); }); diff --git a/packages/restapi/tests/lib/notification/channel.test.ts b/packages/restapi/tests/lib/notification/channel.test.ts index ecd4c6bc5..8475adcd6 100644 --- a/packages/restapi/tests/lib/notification/channel.test.ts +++ b/packages/restapi/tests/lib/notification/channel.test.ts @@ -200,7 +200,6 @@ describe('PushAPI.channel functionality', () => { body: 'test', }, }); - // console.log(res) expect(res.status).to.equal(204); }); @@ -314,7 +313,7 @@ describe('PushAPI.channel functionality', () => { expect(res.status).to.equal(204); }); - it('With signer : subset : Should send notification with title and body along with additional options for alias', async () => { + it.skip('With signer : subset : Should send notification with title and body along with additional options for alias', async () => { const res = await userAlice.channel.send( [ 'eip155:97:0xD8634C39BBFd4033c0d3289C4515275102423681', @@ -331,7 +330,7 @@ describe('PushAPI.channel functionality', () => { cta: 'https://google.com/', embed: 'https://avatars.githubusercontent.com/u/64157541?s=200&v=4', }, - channel: 'eip155:97:0xD8634C39BBFd4033c0d3289C4515275102423681', + channel: `eip155:97:${account2}`, } ); expect(res.status).to.equal(204); @@ -354,13 +353,13 @@ describe('PushAPI.channel functionality', () => { cta: 'https://google.com/', embed: 'https://avatars.githubusercontent.com/u/64157541?s=200&v=4', }, - channel: 'eip155:80001:0xC8c243a4fd7F34c49901fe441958953402b7C024', + channel: `eip155:80001:${account2}`, } ); expect(res.status).to.equal(204); }); - it('With signer : subset : Should send notification with title and body along with additional options for alias', async () => { + it.skip('With signer : subset : Should send notification with title and body along with additional options for alias', async () => { const res = await userAlice.channel.send( [ 'eip155:97:0xD8634C39BBFd4033c0d3289C4515275102423681', @@ -409,7 +408,7 @@ describe('PushAPI.channel functionality', () => { }, 10000000000); }); - describe('channel :: create', () => { + describe.skip('channel :: create', () => { it('Should create channel', async () => { const res = await userKate.channel.create({ name: 'SDK Test', diff --git a/packages/restapi/tests/lib/notification/notification.test.ts b/packages/restapi/tests/lib/notification/notification.test.ts index 9ba9d0b46..0a32ba32a 100644 --- a/packages/restapi/tests/lib/notification/notification.test.ts +++ b/packages/restapi/tests/lib/notification/notification.test.ts @@ -100,7 +100,7 @@ describe('PushAPI.notification functionality', () => { it('Should return feeds when viem is used', async () => { const response = await userViem.notification.list('SPAM'); - console.log(response); + // console.log(response); expect(response).not.null; });