Skip to content

Commit a2c5794

Browse files
sdk : rename chatId to telegram_chatId in tests
1 parent 73dbdf4 commit a2c5794

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/e2e/fetchMyContacts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('web3telegram.fetchMyContacts()', () => {
2626
dataProtector = new IExecDataProtector(...getTestConfig(wallet.privateKey));
2727
web3telegram = new IExecWeb3telegram(...getTestConfig(wallet.privateKey));
2828
protectedData = await dataProtector.core.protectData({
29-
data: { chatId: '1461320872' },
29+
data: { telegram_chatId: '12345' },
3030
name: 'test do not use',
3131
});
3232
await waitSubgraphIndexing();

tests/e2e/sendTelegram.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('web3telegram.sendTelegram()', () => {
8282
...getTestConfig(providerWallet.privateKey)
8383
);
8484
validProtectedData = await dataProtector.protectData({
85-
data: { telegram_chatId: '1461320872' },
85+
data: { telegram_chatId: '12345' },
8686
name: 'test do not use',
8787
});
8888
//create invalid protected data
@@ -212,7 +212,7 @@ describe('web3telegram.sendTelegram()', () => {
212212
async () => {
213213
//create valid protected data with blank order to not have: datasetorder is fully consumed error from iexec sdk
214214
const protectedData = await dataProtector.protectData({
215-
data: { telegram_chatId: '1461320872' },
215+
data: { telegram_chatId: '12345' },
216216
name: 'test do not use',
217217
});
218218
await waitSubgraphIndexing();
@@ -290,7 +290,7 @@ describe('web3telegram.sendTelegram()', () => {
290290
async () => {
291291
//create valid protected data
292292
const protectedDataForWhitelist = await dataProtector.protectData({
293-
data: { telegram_chatId: '1461320872' },
293+
data: { telegram_chatId: '12345' },
294294
name: 'test do not use',
295295
});
296296
await waitSubgraphIndexing();

0 commit comments

Comments
 (0)