Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
qalisander committed Sep 20, 2024
1 parent 4b6eea2 commit 4e0f887
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/erc20/tests/erc20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,10 @@ async fn error_when_transfer_from(alice: Account, bob: Account) -> Result<()> {
Ok(())
}

// ============================================================================
// Integration Tests: ERC-165 Support Interface
// ============================================================================

#[e2e::test]
async fn support_interface(alice: Account) -> Result<()> {
let contract_addr = alice
Expand Down
4 changes: 4 additions & 0 deletions examples/erc721/tests/erc721.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2098,6 +2098,10 @@ async fn token_by_index_after_burn_and_some_mints(
Ok(())
}

// ============================================================================
// Integration Tests: ERC-165 Support Interface
// ============================================================================

#[e2e::test]
async fn support_interface(alice: Account) -> eyre::Result<()> {
let contract_addr = alice.as_deployer().deploy().await?.address()?;
Expand Down

0 comments on commit 4e0f887

Please sign in to comment.