Skip to content

Commit

Permalink
Update suite_rfid_kit.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Jul 10, 2024
1 parent 833fc5c commit f6bec7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/tests/deep_sleep_rfid_kit/suite_rfid_kit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ suite suite_rfid_kit = [] {

when("I wait") = [&] {
cardDetected = false;
rtos::ThisThread::sleep_for(500ms);
rtos::ThisThread::sleep_for(1s);

then("I expect TO detect card") = [&cardDetected] { expect(cardDetected); };
};
Expand All @@ -115,7 +115,7 @@ suite suite_rfid_kit = [] {

when("I wait") = [&] {
cardDetected = false;
rtos::ThisThread::sleep_for(500ms);
rtos::ThisThread::sleep_for(1s);

then("I expect TO NOT detect card") = [&cardDetected] { expect(not cardDetected); };
};
Expand All @@ -134,7 +134,7 @@ suite suite_rfid_kit = [] {

when("I wait") = [&] {
cardDetected = false;
rtos::ThisThread::sleep_for(500ms);
rtos::ThisThread::sleep_for(1s);

then("I expect TO detect card") = [&cardDetected] { expect(cardDetected); };
};
Expand Down

0 comments on commit f6bec7e

Please sign in to comment.