From e406aa8dcddf82d5948c432ea27798047dd9413d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 20 Jun 2023 11:16:00 +0200 Subject: [PATCH] test/gap: expect ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER when removing non-existing entry from whitelist --- test/gap/hci_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gap/hci_test.cpp b/test/gap/hci_test.cpp index c8c039912..603cd9b06 100644 --- a/test/gap/hci_test.cpp +++ b/test/gap/hci_test.cpp @@ -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);