summaryrefslogtreecommitdiff
path: root/js/test/Ice/inheritance
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-08-14 20:02:53 +0200
committerJose <jose@zeroc.com>2018-08-14 20:03:24 +0200
commit7d722e7eb41abd0147458c72285f6fea706c980e (patch)
tree3d7d1884d6fccfd8a44ab9dabb8d833813aee846 /js/test/Ice/inheritance
parentFixed icehashpassword deprecation warning with python debug (diff)
downloadice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.bz2
ice-7d722e7eb41abd0147458c72285f6fea706c980e.tar.xz
ice-7d722e7eb41abd0147458c72285f6fea706c980e.zip
Fixes to allow run JavaScript and Python tests with workers
Diffstat (limited to 'js/test/Ice/inheritance')
-rw-r--r--js/test/Ice/inheritance/Client.js2
-rw-r--r--js/test/Ice/inheritance/Server.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/test/Ice/inheritance/Client.js b/js/test/Ice/inheritance/Client.js
index 9665a8f7bc7..2ac84214515 100644
--- a/js/test/Ice/inheritance/Client.js
+++ b/js/test/Ice/inheritance/Client.js
@@ -223,7 +223,7 @@
let communicator;
try
{
- communicator = this.initialize(args);
+ [communicator] = this.initialize(args);
await this.allTests();
}
finally
diff --git a/js/test/Ice/inheritance/Server.js b/js/test/Ice/inheritance/Server.js
index c74e388d445..a17f9190a37 100644
--- a/js/test/Ice/inheritance/Server.js
+++ b/js/test/Ice/inheritance/Server.js
@@ -22,7 +22,7 @@
let echo;
try
{
- communicator = this.initialize(args);
+ [communicator] = this.initialize(args);
echo = await Test.EchoPrx.checkedCast(communicator.stringToProxy("__echo:" + this.getTestEndpoint()));
const adapter = await communicator.createObjectAdapter("");
const base = communicator.stringToProxy("initial:" + this.getTestEndpoint());