diff --git a/tests/subsys/bluetooth/fast_pair/storage/factory_reset/src/main.c b/tests/subsys/bluetooth/fast_pair/storage/factory_reset/src/main.c index fd66b3219cc1..fc4bd03a46eb 100644 --- a/tests/subsys/bluetooth/fast_pair/storage/factory_reset/src/main.c +++ b/tests/subsys/bluetooth/fast_pair/storage/factory_reset/src/main.c @@ -200,11 +200,18 @@ static void fp_ram_clear(void) static void fp_storage_validate_unloaded_eik(void) { + static const uint8_t eik_store[FP_STORAGE_EIK_LEN] = { + 0xDE, 0xAD, 0xBE, 0xEF, 0xDE, 0xAD, 0xBE, 0xEF, + 0xDE, 0xAD, 0xBE, 0xEF, 0xDE, 0xAD, 0xBE, 0xEF, + 0xDE, 0xAD, 0xBE, 0xEF, 0xDE, 0xAD, 0xBE, 0xEF, + 0xDE, 0xAD, 0xBE, 0xEF, 0xDE, 0xAD, 0xBE, 0xEF, + }; + int err; int ret; uint8_t eik[FP_STORAGE_EIK_LEN]; - err = fp_storage_eik_save(eik); + err = fp_storage_eik_save(eik_store); zassert_equal(err, -EACCES, "Expected error before settings load"); err = fp_storage_eik_delete();