Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
index 8de255939fbdf9ca9864a942f0c5e9bafa2e8759..b888f325eb45af9642dc5038bbba3fd349b111a6 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
@@ -85,9 +85,8 @@ public class UpdateCheckTest extends BaseJsTest |
public void reset() |
{ |
- jsEngine = new JsEngine(appInfo, new LazyLogSystem()); |
+ jsEngine = new JsEngine(appInfo, new LazyLogSystem(), webRequest); |
jsEngine.setDefaultFileSystem(getContext().getFilesDir().getAbsolutePath()); |
- jsEngine.setWebRequest(webRequest); |
jsEngine.setEventCallback("updateAvailable", eventCallback); |
filterEngine = new FilterEngine(jsEngine); |