Skip to content

Commit ae1dd47

Browse files
committed
Fix should_retain_anchor_on_user_range_end_decrease
1 parent 446cb92 commit ae1dd47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/internet_identity/tests/integration/config/assigned_user_number_range.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::v2_api::authn_method_test_helpers::{
2-
create_identity_with_authn_method, test_authn_method,
2+
create_identity_with_authn_method, sample_webauthn_authn_method, test_authn_method,
33
};
44
use canister_tests::api::internet_identity as api;
55
use canister_tests::framework::{
@@ -148,13 +148,13 @@ fn should_retain_anchor_on_user_range_end_decrease() {
148148
};
149149

150150
let canister_id = install_ii_canister_with_arg(&env, II_WASM.clone(), Some(config));
151-
let authn_method = test_authn_method();
151+
152152
assert_eq!(
153-
create_identity_with_authn_method(&env, canister_id, &authn_method),
153+
create_identity_with_authn_method(&env, canister_id, &sample_webauthn_authn_method(0)),
154154
1000
155155
);
156156
assert_eq!(
157-
create_identity_with_authn_method(&env, canister_id, &authn_method),
157+
create_identity_with_authn_method(&env, canister_id, &sample_webauthn_authn_method(1)),
158158
1001
159159
);
160160
assert!(upgrade_ii_canister_with_arg(

0 commit comments

Comments
 (0)