From 66e0c1180ba0291fef54b726649d23fe6210a15d Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Fri, 18 Sep 2015 15:15:48 +0200 Subject: [PATCH] hfp: fix test --- test/hfp/hfp_ag_parser_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hfp/hfp_ag_parser_test.c b/test/hfp/hfp_ag_parser_test.c index 959e74a21..609f10503 100644 --- a/test/hfp/hfp_ag_parser_test.c +++ b/test/hfp/hfp_ag_parser_test.c @@ -241,8 +241,8 @@ TEST(HFPParser, HFP_AG_CONFIRM_COMMON_CODEC){ hfp_parse(&context, packet[pos]); } - CHECK_EQUAL(context.command, HFP_CMD_CONFIRM_COMMON_CODEC); - CHECK_EQUAL(context.remote_codec_received, codec); + CHECK_EQUAL(context.command, HFP_CMD_HF_CONFIRMED_CODEC); + CHECK_EQUAL(context.codec_confirmed, codec); } int main (int argc, const char * argv[]){