Skip to content

Commit

Permalink
Fix default-accounts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aon committed Sep 20, 2023
1 parent 8767519 commit 8896667
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test-cases/default-accounts/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mod custom_default_accounts {
let e2e_alice_account_id: AccountId =
ink_e2e::AccountKeyring::Alice.to_raw_public().into();

assert_eq!(integration_alice_account_id, e2e_alice_account_id);
assert_ne!(integration_alice_account_id, e2e_alice_account_id);
}

#[ink::test]
Expand All @@ -49,7 +49,7 @@ mod custom_default_accounts {

let e2e_bob_account_id: AccountId = ink_e2e::AccountKeyring::Bob.to_raw_public().into();

assert_eq!(integration_bob_account_id, e2e_bob_account_id);
assert_ne!(integration_bob_account_id, e2e_bob_account_id);
}

#[ink::test]
Expand All @@ -61,7 +61,7 @@ mod custom_default_accounts {
let e2e_charlie_account_id: AccountId =
ink_e2e::AccountKeyring::Charlie.to_raw_public().into();

assert_eq!(integration_charlie_account_id, e2e_charlie_account_id);
assert_ne!(integration_charlie_account_id, e2e_charlie_account_id);
}

#[ink::test]
Expand All @@ -74,7 +74,7 @@ mod custom_default_accounts {
ink_e2e::AccountKeyring::Dave.to_raw_public().into();

// There is no Django in the e2e test accounts, there is no Dave in the integration test accounts
assert_eq!(integration_dave_account_id, e2e_dave_account_id);
assert_ne!(integration_dave_account_id, e2e_dave_account_id);
}

#[ink::test]
Expand All @@ -85,7 +85,7 @@ mod custom_default_accounts {

let e2e_eve_account_id: AccountId = ink_e2e::AccountKeyring::Eve.to_raw_public().into();

assert_eq!(integration_eve_account_id, e2e_eve_account_id);
assert_ne!(integration_eve_account_id, e2e_eve_account_id);
}

#[ink::test]
Expand All @@ -98,7 +98,7 @@ mod custom_default_accounts {
ink_e2e::AccountKeyring::Ferdie.to_raw_public().into();

// There is no Frank in the e2e test accounts, there is no Ferdie in the integration test accounts
assert_eq!(integration_frank_account_id, e2e_frank_account_id);
assert_ne!(integration_frank_account_id, e2e_frank_account_id);
}

#[ink::test]
Expand All @@ -112,7 +112,7 @@ mod custom_default_accounts {
e2e_one_account_id
);

assert_eq!(integration_one_account_id, e2e_one_account_id);
assert_ne!(integration_one_account_id, e2e_one_account_id);
}

#[ink::test]
Expand All @@ -126,7 +126,7 @@ mod custom_default_accounts {
e2e_two_account_id
);

assert_eq!(integration_two_account_id, e2e_two_account_id);
assert_ne!(integration_two_account_id, e2e_two_account_id);
}
}
}

0 comments on commit 8896667

Please sign in to comment.