diff --git a/tests/image/image.cpp b/tests/image/image.cpp index 99a85fa66f..e0acece78f 100644 --- a/tests/image/image.cpp +++ b/tests/image/image.cpp @@ -166,8 +166,8 @@ void ImageTestCase::LoadFromSocketStream() { if (!IsNetworkAvailable()) // implemented in test.cpp { - wxLogWarning("No network connectivity; skipping the " - "ImageTestCase::LoadFromSocketStream test unit."); + WARN("No network connectivity; skipping the " + "ImageTestCase::LoadFromSocketStream test unit."); return; } diff --git a/tests/uris/url.cpp b/tests/uris/url.cpp index b6100eee06..65c878aa1d 100644 --- a/tests/uris/url.cpp +++ b/tests/uris/url.cpp @@ -65,7 +65,7 @@ void URLTestCase::GetInputStream() { if (!IsNetworkAvailable()) // implemented in test.cpp { - wxLogWarning("No network connectivity; skipping the URLTestCase::GetInputStream test unit."); + WARN("No network connectivity; skipping the URLTestCase::GetInputStream test unit."); return; }