Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/NotificationTest.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/NotificationTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/NotificationTest.java |
index 55b1eadb5536bb596e8fe2b6ea05c23e79279d2f..7ba833f2350ae3c4ebab189d0a4e11850839be13 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/NotificationTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/NotificationTest.java |
@@ -21,6 +21,7 @@ import org.adblockplus.libadblockplus.FilterEngine; |
import org.adblockplus.libadblockplus.LazyWebRequest; |
import org.adblockplus.libadblockplus.Notification; |
import org.adblockplus.libadblockplus.ShowNotificationCallback; |
+import org.adblockplus.libadblockplus.WebRequest; |
import org.junit.Test; |
@@ -32,11 +33,15 @@ public class NotificationTest extends BaseJsTest |
protected void setUp() throws Exception |
{ |
super.setUp(); |
- |
- jsEngine.setWebRequest(new LazyWebRequest()); |
filterEngine = new FilterEngine(jsEngine); |
} |
+ @Override |
+ protected WebRequest createWebRequest() |
+ { |
+ return new LazyWebRequest(); |
+ } |
+ |
protected void addNotification(String notification) |
{ |
jsEngine.evaluate( |