From 48e4d63aad692b56930fb4dff229d3902e0691bf Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Tue, 10 Nov 2015 11:27:24 +0200 Subject: [PATCH] http changed to https --- apps/tests/http-tests.ts | 8 ++++---- apps/tests/image-source-tests.ts | 2 +- apps/tests/ui/web-view/web-view-tests.ts | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/tests/http-tests.ts b/apps/tests/http-tests.ts index 5e560912b..6094a0da6 100644 --- a/apps/tests/http-tests.ts +++ b/apps/tests/http-tests.ts @@ -133,7 +133,7 @@ export var test_getJSON_fail_when_result_is_not_JSON = function (done) { export var test_getJSONP = function (done) { var result; - http.getJSON("http://demos.telerik.com/kendo-ui/service/Products").then(function (r) { + http.getJSON("https://jsfiddle.net/echo/jsonp/").then(function (r) { result = r; try { TKUnit.assert(typeof (JSON.stringify(result)) === "string", "Result from getJSON() should be valid JSON object!"); @@ -246,7 +246,7 @@ export var test_request_shouldFailIfOptionsUrlIsNotDefined = function (done) { export var test_request_requestShouldTimeout = function (done) { var result; - http.request({ url: "http://10.255.255.1", method: "GET", timeout: 500 }).catch(function (e) { + http.request({ url: "https://10.255.255.1", method: "GET", timeout: 500 }).catch(function (e) { result = e; try { TKUnit.assert(result instanceof Error, "Result from request().catch() should be Error! Current type is " + typeof result); @@ -532,8 +532,8 @@ export var test_request_jsonAsContentSentAndReceivedProperly = function (done) { export var test_getString_FromVariousUrls_ShouldWorkProperly = function (done) { var urls = [ - "http://it-ebooks-api.info/v1/book/1615005640", - "http://www.telerik.com", + "https://it-ebooks-api.info/v1/book/1615005640", + "https://www.telerik.com", "https://spreadsheets.google.com/tq?key=1tJ64Y8hje0ui4ap9U33h3KWwpxT_-JuVMSZzxD2Er8k" ]; diff --git a/apps/tests/image-source-tests.ts b/apps/tests/image-source-tests.ts index ac4306963..e8195974f 100644 --- a/apps/tests/image-source-tests.ts +++ b/apps/tests/image-source-tests.ts @@ -41,7 +41,7 @@ export function testFromUrl(done) { // // ### Load image from URL // ``` JavaScript - imageSource.fromUrl("http://www.google.com/images/errors/logo_sm_2.png") + imageSource.fromUrl("https://www.google.com/images/errors/logo_sm_2.png") .then(function (res: imageSource.ImageSource) { //console.log("Image successfully loaded"); // diff --git a/apps/tests/ui/web-view/web-view-tests.ts b/apps/tests/ui/web-view/web-view-tests.ts index 531c7aad2..2a3d13df5 100644 --- a/apps/tests/ui/web-view/web-view-tests.ts +++ b/apps/tests/ui/web-view/web-view-tests.ts @@ -51,7 +51,7 @@ export class WebViewTest extends testModule.UITest { // try { TKUnit.assertNull(args.error, args.error); - TKUnit.assertEqual(args.url, "http://nsbuild01.telerik.com/docs/", "args.url"); + TKUnit.assertEqual(args.url, "https://github.com/", "args.url"); done(null); } catch (e) { @@ -60,7 +60,7 @@ export class WebViewTest extends testModule.UITest { // }); - webView.url = "http://nsbuild01.telerik.com/docs/"; + webView.url = "https://github.com/"; // ``` // } @@ -172,7 +172,7 @@ export class WebViewTest extends testModule.UITest { public testLoadUpperCaseSrc(done) { let webView = this.testView; - let targetSrc = "HTTP://nsbuild01.telerik.com/docs/"; + let targetSrc = "HTTPS://github.com/"; webView.on(webViewModule.WebView.loadFinishedEvent, function (args: webViewModule.LoadEventData) { try {