From 5222a37eff44b48438646436b5119d299bda8bc2 Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Thu, 24 Sep 2026 12:35:03 +0800 Subject: [PATCH] fix: command_ams_refresh_rfid function signature in test_printer_agent.cpp --- tests/slic3rutils/test_printer_agent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/slic3rutils/test_printer_agent.cpp b/tests/slic3rutils/test_printer_agent.cpp index 88ecf74ccf..a87381d14e 100644 --- a/tests/slic3rutils/test_printer_agent.cpp +++ b/tests/slic3rutils/test_printer_agent.cpp @@ -73,7 +73,7 @@ TEST_CASE("unit: default AMS commands report not supported", "[unit][moonraker]" { MoonrakerPrinterAgent agent(""); - CHECK(agent.command_ams_refresh_rfid("dev", "123", 1, false) == ORCA_NETWORK_ERR_CMD_NOT_SUPPORTED); + CHECK(agent.command_ams_refresh_rfid("dev", 123, 1, 0, false) == ORCA_NETWORK_ERR_CMD_NOT_SUPPORTED); CHECK(agent.command_ams_calibrate("dev", 1, 2, false) == ORCA_NETWORK_ERR_CMD_NOT_SUPPORTED); CHECK(agent.command_ams_select_tray("dev", "123", 3, false) == ORCA_NETWORK_ERR_CMD_NOT_SUPPORTED); }