test/gap: expect ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER when removing non-existing entry from whitelist

This commit is contained in:
Matthias Ringwald 2023-06-20 11:16:00 +02:00
parent 334e35ac6f
commit e406aa8dcd

View File

@ -156,7 +156,7 @@ TEST(HCI, gap_whitelist_add_remove){
CHECK_EQUAL(ERROR_CODE_SUCCESS, status);
status = gap_whitelist_remove(addr_type, addr);
CHECK_EQUAL(ERROR_CODE_SUCCESS, status);
CHECK_EQUAL(ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER, status);
status = gap_whitelist_remove(BD_ADDR_TYPE_SCO, addr);
CHECK_EQUAL(ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER, status);