This commit is contained in:
Erik Frojdh 2019-11-25 11:20:24 +01:00
parent 28f1f6c1cd
commit f2e69fb5a3

View File

@ -1454,6 +1454,8 @@ TEST_CASE("stopport", "[.cmd]") {
REQUIRE(oss.str() == "stopport 1942\n"); REQUIRE(oss.str() == "stopport 1942\n");
} }
proxy.Call("stopport", {"1953"}, -1, PUT); proxy.Call("stopport", {"1953"}, -1, PUT);
auto port = det.getStopPort().squash();
REQUIRE(port == 1953);
} }