Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java |
index 3ea81d2bad3aa3c7778b6b83b2a1874a9f62c810..9c2b920b37b0613fdea7350613da6dd62cd27916 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java |
@@ -40,9 +40,8 @@ public class UpdaterTest extends AndroidTestCase |
.setVersion("1.0.1") |
.build(); |
- JsEngine jsEngine = new JsEngine(appInfo); |
mockWebRequest = new MockWebRequest(); |
- jsEngine.setWebRequest(mockWebRequest); |
+ JsEngine jsEngine = new JsEngine(appInfo, mockWebRequest); |
jsEngine.setDefaultFileSystem(getContext().getFilesDir().getAbsolutePath()); |
filterEngine = new FilterEngine(jsEngine); |