From 29499af6c5c9b066dfdd6f2f13e1967494a0f652 Mon Sep 17 00:00:00 2001 From: Gabriel Mariano Marcelino Date: Sun, 25 Feb 2024 15:47:24 -0300 Subject: [PATCH] firmware: tests: devices: Updating the payload device test #273 --- firmware/tests/devices/payload_test.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/firmware/tests/devices/payload_test.c b/firmware/tests/devices/payload_test.c index f331327b..ea135ca1 100644 --- a/firmware/tests/devices/payload_test.c +++ b/firmware/tests/devices/payload_test.c @@ -26,7 +26,7 @@ * \author Gabriel Mariano Marcelino * \author Bruno Benedetti * - * \version 0.10.10 + * \version 0.10.11 * * \date 2021/08/16 * @@ -153,19 +153,6 @@ static void payload_init_test(void **state) will_return(__wrap_px_init, 0); assert_return_code(payload_init(PAYLOAD_X), 0); - - /* Payload Joinville */ - expect_value(__wrap_phj_init_i2c, config.port, I2C_PORT_0); - expect_value(__wrap_phj_init_i2c, config.bitrate, 400000); - - will_return(__wrap_phj_init_i2c, 0); - - expect_value(__wrap_phj_init_gpio, config.pin, GPIO_PIN_0); - expect_value(__wrap_phj_init_gpio, config.mode, GPIO_MODE_INPUT); - - will_return(__wrap_phj_init_gpio, 0); - - assert_return_code(payload_init(PAYLOAD_PHJ), 0); } static void payload_enable_test(void **state)