fixes utc_blink_ewk_policy_decision_response_status_code_get_func unittest
authorArnaud Renevier <a.renevier@samsung.com>
Wed, 23 Sep 2015 21:59:23 +0000 (14:59 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
url in the test should't redirect. But http://www.enlightenment.org
redirects to https://www.enlightenment.org/
This patch fixes that

Reviewed by: a1.gomes, sns.park

Change-Id: I24f6d93d0385dda5481b011efe01f50ce2bd6961
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
tizen_src/ewk/unittest/utc_blink_ewk_policy_decision_response_status_code_get_func.cpp

index abbacee..1863a67 100755 (executable)
@@ -44,7 +44,7 @@ TEST_F(utc_blink_ewk_policy_decision_response_status_code_get, response_status_c
     // policy decision callback will be send for each element on the page, we're interested only in the first
     // one as it is reponse for request url. Other responses may break TC logic
     evas_object_smart_callback_auto cb(GetEwkWebView(), "policy,response,decide", ToSmartCallback(policy_response_decide), this);
-    ASSERT_EQ(EINA_TRUE, ewk_view_url_set(GetEwkWebView(), "http://www.enlightenment.org/")); // this url should not redirect
+    ASSERT_EQ(EINA_TRUE, ewk_view_url_set(GetEwkWebView(), "https://www.enlightenment.org/")); // this url should not redirect
     ASSERT_EQ(Success, EventLoopStart()) << "policy,response,decide callback not triggered with proper url";
   }