Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/MockWebRequestTest.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/MockWebRequestTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/MockWebRequestTest.java |
index f35585a39af90969c93cf13eb71b241266dfe890..d0681f5db248aafbb8e6f37c0e4d901a016cb726 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/MockWebRequestTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/MockWebRequestTest.java |
@@ -58,11 +58,9 @@ public class MockWebRequestTest extends BaseJsTest |
} |
@Override |
- protected void setUp() throws Exception |
+ protected WebRequest createWebRequest() |
{ |
- super.setUp(); |
- |
- jsEngine.setWebRequest(new LocalMockWebRequest()); |
+ return new LocalMockWebRequest(); |
} |
@Test |