From d5ab2bc70cac13c8e48e9486d86bc1ddbff2c971 Mon Sep 17 00:00:00 2001 From: Lukas Woodtli Date: Thu, 13 Jun 2024 17:07:58 +0200 Subject: [PATCH] fixup! testing: Test for invalid content type during registration --- tests/registration_tests.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/registration_tests.c b/tests/registration_tests.c index 5d4d2829e..072979536 100644 --- a/tests/registration_tests.c +++ b/tests/registration_tests.c @@ -115,8 +115,6 @@ static void test_registration_message_to_server_wrong_content_type(void) { uint8_t reg_coap_msg[80]; memset(reg_coap_msg, 0, sizeof(reg_coap_msg)); size_t msg_size = coap_serialize_message(&packet, reg_coap_msg); - // size may vary depending on content type encoding - CU_ASSERT_TRUE(msg_size == 76 || msg_size == 77); coap_free_header(&packet); /* act */