Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trbutler4 committed Oct 26, 2024
1 parent df045a3 commit 3fadffd
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions snphone-contracts/tests/test_account.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@ fn test_other_account_cannot_change_public_key() {

assert(wallet.get_public_key() != new_pub_key, 'Pub key should not change');
}
//#[test]
//fn test_is_valid_signature() { // TODO: Test is_valid_signature() works as expected (valid returns true, anything else returns false (check 0 hash and empty sigs as well))
//}

#[test]
fn test_is_valid_signature() { // TODO: Test is_valid_signature() works as expected (valid returns true, anything else returns false (check 0 hash and empty sigs as well))
}


#[test]
fn test_execute() { // TODO: Test __execute__() works as expected (solo and multi-calls should work as expected)
//#[test]
//fn test_execute() { // TODO: Test __execute__() works as expected (solo and multi-calls should work as expected)
// - Might need to create a mock erc20 contract to test calls (see if the wallet is able to do a multi call (try sending eth to 2 accounts from the
// deployed wallet, both accounts' balance should update)
}
//}


0 comments on commit 3fadffd

Please sign in to comment.