http changed to https

This commit is contained in:
Vladimir Enchev
2015-11-10 11:27:24 +02:00
parent 3a97c2d8f6
commit 48e4d63aad
3 changed files with 8 additions and 8 deletions

View File

@ -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"
];

View File

@ -41,7 +41,7 @@ export function testFromUrl(done) {
// <snippet module="image-source" title="image-source">
// ### 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");
// <hide>

View File

@ -51,7 +51,7 @@ export class WebViewTest extends testModule.UITest<webViewModule.WebView> {
// <hide>
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<webViewModule.WebView> {
// </hide>
});
webView.url = "http://nsbuild01.telerik.com/docs/";
webView.url = "https://github.com/";
// ```
// </snippet>
}
@ -172,7 +172,7 @@ export class WebViewTest extends testModule.UITest<webViewModule.WebView> {
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 {