Fix failing unit tests

This commit is contained in:
Dimitar Topuzov
2015-10-09 18:03:53 +03:00
parent 563ab6657e
commit 4f62758a35
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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)
});