Skip to content

Commit 905e98a

Browse files
committedMar 16, 2022
Update test cases for CCIP Read fix (#2478).

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎packages/tests/src.ts/test-providers.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ describe("Test CCIP execution", function() {
14381438
this.timeout(60000);
14391439
const data = "0x1234";
14401440
const result = await contract.testGet(data, { ccipReadEnabled: true });
1441-
verify(ethers.constants.AddressZero, data, result);
1441+
verify(address, data, result);
14421442
});
14431443

14441444
it("testGet should fail with CCIP not explicitly enabled by overrides", async function() {
@@ -1534,14 +1534,14 @@ describe("Test CCIP execution", function() {
15341534
this.timeout(60000);
15351535
const data = "0x123456";
15361536
const result = await contract.testGetFallback(data, { ccipReadEnabled: true });
1537-
verify(ethers.constants.AddressZero, data, result);
1537+
verify(address, data, result);
15381538
});
15391539

15401540
it("testPost passes under normal operation", async function() {
15411541
this.timeout(60000);
15421542
const data = "0x1234";
15431543
const result = await contract.testPost(data, { ccipReadEnabled: true });
1544-
verify(ethers.constants.AddressZero, data, result);
1544+
verify(address, data, result);
15451545
});
15461546

15471547
})

0 commit comments

Comments
 (0)
Please sign in to comment.