From 1226891ee584bfb6bb67e0b8df805fbe1790de2a Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Wed, 20 Jun 2018 10:11:18 +0200 Subject: fixup add second series Signed-off-by: Szczepan Zalega --- unittest/test_offline.cc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/unittest/test_offline.cc b/unittest/test_offline.cc index 808c617..e34eeb4 100644 --- a/unittest/test_offline.cc +++ b/unittest/test_offline.cc @@ -162,7 +162,7 @@ TEST_CASE("Test device commands ids", "[fast]") { } -TEST_CASE("Connect should not return true after second attempt", "[fast]") { +TEST_CASE("Connect should not return true after the second attempt", "[fast]") { int result = 0; result = NK_login("S"); @@ -174,4 +174,15 @@ TEST_CASE("Connect should not return true after second attempt", "[fast]") { result = NK_logout(); REQUIRE(result == 0); + result = NK_logout(); + REQUIRE(result == 0); + + result = NK_login("P"); + REQUIRE(result == 0); + + result = NK_login_auto(); + REQUIRE(result == 0); + + result = NK_logout(); + REQUIRE(result == 0); } -- cgit v1.2.3