Skip to content

Commit c64723c

Browse files
committed
Enable AuthorizationTest for javascript
1 parent c908f94 commit c64723c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/stub/authorization.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def test_should_fail_with_auth_expired_on_rollback_using_tx_run(self):
345345
def test_should_retry_on_auth_expired_on_begin_using_tx_function(
346346
self):
347347
# TODO remove this block once all languages work
348-
if get_driver_name() in ['go', 'python', 'javascript', 'dotnet']:
348+
if get_driver_name() in ['go', 'python', 'dotnet']:
349349
self.skipTest("requires authorization expired response support")
350350
driver = Driver(self._backend, self._uri, self._auth,
351351
userAgent=self._userAgent)
@@ -380,7 +380,7 @@ def work(tx):
380380
def test_should_retry_on_auth_expired_on_run_using_tx_function(
381381
self):
382382
# TODO remove this block once all languages work
383-
if get_driver_name() in ['go', 'python', 'javascript', 'dotnet']:
383+
if get_driver_name() in ['go', 'python', 'dotnet']:
384384
self.skipTest("requires authorization expired response support")
385385
driver = Driver(self._backend, self._uri, self._auth,
386386
userAgent=self._userAgent)
@@ -415,7 +415,7 @@ def work(tx):
415415
def test_should_retry_on_auth_expired_on_pull_using_tx_function(
416416
self):
417417
# TODO remove this block once all languages work
418-
if get_driver_name() in ['go', 'python', 'javascript', 'dotnet']:
418+
if get_driver_name() in ['go', 'python', 'dotnet']:
419419
self.skipTest("requires authorization expired response support")
420420
driver = Driver(self._backend, self._uri, self._auth,
421421
userAgent=self._userAgent)
@@ -450,7 +450,7 @@ def work(tx):
450450
def test_should_retry_on_auth_expired_on_commit_using_tx_function(
451451
self):
452452
# TODO remove this block once all languages work
453-
if get_driver_name() in ['go', 'python', 'javascript', 'dotnet']:
453+
if get_driver_name() in ['go', 'python', 'dotnet']:
454454
self.skipTest("requires authorization expired response support")
455455
driver = Driver(self._backend, self._uri, self._auth,
456456
userAgent=self._userAgent)

0 commit comments

Comments
 (0)