Skip to content

Commit 349ae46

Browse files
committed
Unit tests: force publishOnChange interval to 0
- The test was intended to run with a default interval of 0, changing the default we need to manually force interval to 0
1 parent d1e2fc8 commit 349ae46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/test/src/test_publishOnChange.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SCENARIO("An Arduino cloud property is published on value change", "[ArduinoClou
2121
CloudInt test = 10;
2222
int const DELTA = 6;
2323

24-
addPropertyToContainer(property_container, test, "test", Permission::ReadWrite).publishOnChange(DELTA);
24+
addPropertyToContainer(property_container, test, "test", Permission::ReadWrite).publishOnChange(DELTA,0);
2525

2626
WHEN("test = 10, delta = 6, the property is encoded for the 1st time") {
2727
THEN("The property should be encoded") {

0 commit comments

Comments
 (0)