Skip to content

Commit

Permalink
fixup! testing: Test for invalid content type during registration
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWoodtli committed Jun 13, 2024
1 parent 56d3a52 commit d5ab2bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/registration_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d5ab2bc

Please sign in to comment.