summaryrefslogtreecommitdiffstats
path: root/tests/test_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_send.c')
-rw-r--r--tests/test_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_send.c b/tests/test_send.c
index 3a18ff30..29cf5dec 100644
--- a/tests/test_send.c
+++ b/tests/test_send.c
@@ -28,6 +28,7 @@ extern void setup();
START_TEST (test_send_empty_payload)
{
+ SHIMS.frame_padding = false;
uint16_t arbitration_id = 0x2a;
IsoTpSendHandle handle = isotp_send(&SHIMS, arbitration_id, NULL, 0, message_sent);
fail_unless(handle.success);
@@ -46,6 +47,7 @@ END_TEST
START_TEST (test_send_single_frame)
{
+ SHIMS.frame_padding = false;
const uint8_t payload[] = {0x12, 0x34};
uint16_t arbitration_id = 0x2a;
isotp_send(&SHIMS, arbitration_id, payload, sizeof(payload), message_sent);