diff options
author | Jose <jose@zeroc.com> | 2017-07-19 20:45:23 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-07-19 20:45:23 +0200 |
commit | 5db3cb65a962bb598e128f546fb9376bf6cee0d2 (patch) | |
tree | ea31e4f788e80b0a712440ac6559bf32c0e2ae55 | |
parent | Clarified comment (diff) | |
download | ice-5db3cb65a962bb598e128f546fb9376bf6cee0d2.tar.bz2 ice-5db3cb65a962bb598e128f546fb9376bf6cee0d2.tar.xz ice-5db3cb65a962bb598e128f546fb9376bf6cee0d2.zip |
ICE-8365 - Bogus calls to Promise.fail
-rw-r--r-- | js/test/Ice/defaultValue/Client.js | 2 | ||||
-rw-r--r-- | js/test/Ice/info/Client.js | 2 | ||||
-rw-r--r-- | js/test/Ice/location/Client.js | 2 | ||||
-rw-r--r-- | js/test/Ice/operations/BatchOneways.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/js/test/Ice/defaultValue/Client.js b/js/test/Ice/defaultValue/Client.js index 41aa9b6b44d..5eb9dfd688b 100644 --- a/js/test/Ice/defaultValue/Client.js +++ b/js/test/Ice/defaultValue/Client.js @@ -25,7 +25,7 @@ } catch(err) { - p.fail(err); + p.reject(err); throw err; } } diff --git a/js/test/Ice/info/Client.js b/js/test/Ice/info/Client.js index 46572c427b5..8de7211c4eb 100644 --- a/js/test/Ice/info/Client.js +++ b/js/test/Ice/info/Client.js @@ -50,7 +50,7 @@ } catch(err) { - p.fail(err); + p.reject(err); throw err; } } diff --git a/js/test/Ice/location/Client.js b/js/test/Ice/location/Client.js index bb8d3fa0d89..de71742d733 100644 --- a/js/test/Ice/location/Client.js +++ b/js/test/Ice/location/Client.js @@ -660,7 +660,7 @@ { if(!(ex instanceof Ice.NotRegisteredException)) { - p.fail(ex); + p.reject(ex); } if(all < 999) diff --git a/js/test/Ice/operations/BatchOneways.js b/js/test/Ice/operations/BatchOneways.js index d50ba94dfcd..db675a37d07 100644 --- a/js/test/Ice/operations/BatchOneways.js +++ b/js/test/Ice/operations/BatchOneways.js @@ -26,7 +26,7 @@ } catch(err) { - p.fail(err); + p.reject(err); throw err; } } |