Skip to content

Commit

Permalink
fix: remove the siimulated addres fot change name test
Browse files Browse the repository at this point in the history
  • Loading branch information
aweolumidedavid committed May 4, 2024
1 parent 53a48c5 commit 4336dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onchain/src/tests/username_store.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn test_change_username() {

// Verify initial claim
let initial_username_address = dispatcher.get_username(initial_username);

//assert_eq!(initial_username_address, simulated_caller_address, "Initial username not claimed properly");

// Claim a new username for changing
Expand All @@ -50,5 +50,5 @@ fn test_change_username() {

// Ensure the old username is no longer linked
let old_username_address = dispatcher.get_username(initial_username);
assert_ne!(old_username_address, simulated_caller_address, "Old username still linked");
assert_ne!(old_username_address, new_username_address, "Old username still linked");
}

0 comments on commit 4336dc3

Please sign in to comment.