From 4f62758a356d124f996e8e1cd4404d95c18e0dde Mon Sep 17 00:00:00 2001 From: Dimitar Topuzov Date: Fri, 9 Oct 2015 18:03:53 +0300 Subject: [PATCH] Fix failing unit tests --- apps/tests/http-tests.ts | 2 +- apps/tests/xml-declaration/mainPage.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tests/http-tests.ts b/apps/tests/http-tests.ts index 25df556a3..5e560912b 100644 --- a/apps/tests/http-tests.ts +++ b/apps/tests/http-tests.ts @@ -532,7 +532,7 @@ export var test_request_jsonAsContentSentAndReceivedProperly = function (done) { export var test_getString_FromVariousUrls_ShouldWorkProperly = function (done) { var urls = [ - "http://api.openweathermap.org/data/2.5/find?q=London,uk", + "http://it-ebooks-api.info/v1/book/1615005640", "http://www.telerik.com", "https://spreadsheets.google.com/tq?key=1tJ64Y8hje0ui4ap9U33h3KWwpxT_-JuVMSZzxD2Er8k" ]; diff --git a/apps/tests/xml-declaration/mainPage.ts b/apps/tests/xml-declaration/mainPage.ts index 20f79a4c7..ad2eb702b 100644 --- a/apps/tests/xml-declaration/mainPage.ts +++ b/apps/tests/xml-declaration/mainPage.ts @@ -39,7 +39,7 @@ export function buttonTap(args: observable.EventData) { } } - http.getString("http://api.openweathermap.org/data/2.5/find?q=London,uk").then(r=> { + http.getString("http://it-ebooks-api.info/v1/book/1615005640").then(r=> { console.log("R: " + r) });