Skip to content

Commit

Permalink
fixup: ...I think the sub-domain needs its own NFT
Browse files Browse the repository at this point in the history
...in the new test case.
  • Loading branch information
amnn committed Feb 12, 2025
1 parent 92e3e51 commit a4b1bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/sui-indexer-alt-e2e-tests/tests/name_service_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,13 @@ async fn test_resolve_subdomain_parent_expiry() {
async fn test_resolve_subdomain_expiry() {
let mut c = SuiNSCluster::new().await;

let parent_nft = ObjectID::random();
let nft = ObjectID::random();
let target = SuiAddress::random_for_testing_only();
let parent_expiry_ms = 10000;
let expiry_ms = 1000;

c.add_domain(nft, &["sui", "foo"], None, parent_expiry_ms)
c.add_domain(parent_nft, &["sui", "foo"], None, parent_expiry_ms)
.await
.expect("Failed to add parent domain");

Expand Down

0 comments on commit a4b1bc1

Please sign in to comment.