Skip to content

Commit a6aceeb

Browse files
committed
test: remove _test_keystore_encrypt_and_store_seed
Already covered by `bitbox02::keystore::tests::test_seeds` and others.
1 parent 5f7ade9 commit a6aceeb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/unit-test/test_keystore.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,6 @@ static void _expect_encrypt_and_store_seed(void)
262262
will_return(__wrap_memory_is_initialized, false);
263263
}
264264

265-
static void _test_keystore_encrypt_and_store_seed(void** state)
266-
{
267-
_expect_encrypt_and_store_seed();
268-
assert_int_equal(keystore_encrypt_and_store_seed(_mock_seed, 32, PASSWORD), KEYSTORE_OK);
269-
}
270-
271265
static void _expect_seeded(bool seeded)
272266
{
273267
uint8_t seed[KEYSTORE_MAX_SEED_LENGTH];
@@ -573,7 +567,6 @@ int main(void)
573567
const struct CMUnitTest tests[] = {
574568
cmocka_unit_test(_test_keystore_secp256k1_nonce_commit),
575569
cmocka_unit_test(_test_keystore_secp256k1_sign),
576-
cmocka_unit_test(_test_keystore_encrypt_and_store_seed),
577570
cmocka_unit_test(_test_keystore_unlock),
578571
cmocka_unit_test(_test_keystore_unlock_bip39),
579572
cmocka_unit_test(_test_keystore_lock),

0 commit comments

Comments
 (0)