Index: test/Notification.cpp |
=================================================================== |
--- a/test/Notification.cpp |
+++ b/test/Notification.cpp |
@@ -126,7 +126,7 @@ |
TEST_F(NotificationMockWebRequestTest, DISABLED_SingleNotification) |
{ |
- AdblockPlus::Sleep(5000/*msec*/); // it's a hack |
+ std::this_thread::sleep_for(std::chrono::milliseconds(5000)); // it's a hack |
EXPECT_TRUE(isNotificationCallbackCalled); |
} |