diff --git a/test/Network/IpAddress.cpp b/test/Network/IpAddress.cpp index 92760b539..07b3d0972 100644 --- a/test/Network/IpAddress.cpp +++ b/test/Network/IpAddress.cpp @@ -71,7 +71,7 @@ TEST_CASE("sf::IpAddress class - [network]") SUBCASE("getPublicAddress") { - const std::optional ipAddress = sf::IpAddress::getPublicAddress(); + const std::optional ipAddress = sf::IpAddress::getPublicAddress(sf::seconds(1)); REQUIRE(ipAddress.has_value()); CHECK(ipAddress->toString() != "0.0.0.0"); CHECK(ipAddress->toInteger() != 0);