Skip to content

Commit ad6f9cd

Browse files
committed
Update external authentication skip
1 parent fb18575 commit ad6f9cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/externalAuth.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,9 @@ describe('5. externalAuth.js', function() {
244244

245245
describe('5.2 tests only work when externalAuth is configured on DB', function() {
246246

247-
// need to skip these tests if external authentication is not configured
248-
var it = (process.env.NODE_ORACLEDB_EXTERNALAUTH === true) ? global.it : global.it.skip;
247+
before(function() {
248+
if ( !(process.env.NODE_ORACLEDB_EXTERNALAUTH) ) this.skip();
249+
});
249250

250251
it("5.2.1 can get connection from oracledb with external authentication", function(done) {
251252

0 commit comments

Comments
 (0)