Skip to content

Commit b8f3d4e

Browse files
committed
tests: Reset pin to the original value
Signed-off-by: Jakub Jelen <[email protected]>
1 parent 9848b92 commit b8f3d4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cryptoki/tests/basic.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,9 @@ fn set_pin_test() -> TestResult {
11521152
session.logout()?;
11531153
session.login(UserType::User, Some(&new_user_pin))?;
11541154

1155+
// return it back
1156+
session.set_pin(&new_user_pin, &user_pin)?;
1157+
session.logout()?;
11551158
Ok(())
11561159
}
11571160

0 commit comments

Comments
 (0)