http client fixed to use new Image methods

This commit is contained in:
Vladimir Enchev
2014-05-13 09:47:34 +03:00
parent 60c7c5e232
commit 7f1ec4a4d2
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ export var test_getImage = function () {
};
export var test_getImage_fail = function () {
http.getImage("htadvtp://www.google.com/images/errors/logo_sm_2.png").fail(function (e) {
http.getImage("htadvtp://www.google.com/images/errors/logo_sm_2.pngm").fail(function (e) {
TKUnit.assert(e instanceof Error, "Result from getImage().fail() should be Error!");
});
};