Index: test/JsEngine.cpp |
diff --git a/test/JsEngine.cpp b/test/JsEngine.cpp |
index 68e5b68a9882f3686202cdd062a6d8199c95d691..b26c794ffabb4a2a6ec2c19fe0adfceffed30c21 100644 |
--- a/test/JsEngine.cpp |
+++ b/test/JsEngine.cpp |
@@ -177,12 +177,6 @@ TEST(NewJsEngineTest, CallbackGetSet) |
AdblockPlus::FileSystemPtr fileSystem(new AdblockPlus::DefaultFileSystem()); |
jsEngine->SetFileSystem(fileSystem); |
ASSERT_EQ(fileSystem, jsEngine->GetFileSystem()); |
- |
- ASSERT_TRUE(jsEngine->GetWebRequest()); |
- ASSERT_ANY_THROW(jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr())); |
- AdblockPlus::WebRequestPtr webRequest(new AdblockPlus::DefaultWebRequest()); |
- jsEngine->SetWebRequest(webRequest); |
- ASSERT_EQ(webRequest, jsEngine->GetWebRequest()); |
} |
TEST(NewJsEngineTest, GlobalPropertyTest) |