Skip to content

Commit 4b1d39e

Browse files
committed
Prefer non binary test data
1 parent 5989a22 commit 4b1d39e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test/list.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5346,7 +5346,7 @@ oracledb.OUT_FORMAT_OBJECT and resultSet = true
53465346
265.1.29 user/password without tokens with externalAuth set to false
53475347
265.1.30 token and private key should be private
53485348
265.1.31 token and private key value should not be shown in logs
5349-
265.1.32 not readable token and private key value
5349+
265.1.32 random token and private key value
53505350
265.1.33 pool creation with 0 connection
53515351
265.1.34 token expires before creating connection
53525352
265.1.35 undefined token and private key value
@@ -5364,6 +5364,6 @@ oracledb.OUT_FORMAT_OBJECT and resultSet = true
53645364
265.2.8 user/password with tokens
53655365
265.2.9 user/password without tokens
53665366
265.2.10 standalone connection with undefined private key and token
5367-
265.2.11 standalone connection with not readable data
5367+
265.2.11 standalone connection with random token and private key
53685368
265.2.12 token and private key are private
53695369
265.2.13 standalone connection with expired token

test/tokenBasedAuthentication.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,10 +1381,10 @@ describe('265. Token based authentication', function() {
13811381
}
13821382
});
13831383

1384-
it('265.1.32 not readable token and private key value', async () => {
1384+
it('265.1.32 random token and private key value', async () => {
13851385
const testData = {
1386-
token : '1Àè&ýÿÿ¿',
1387-
privateKey : '1Àè&ýÿÿ¿'
1386+
token : 'Hello',
1387+
privateKey : 'World'
13881388
};
13891389

13901390
let pool;
@@ -1803,11 +1803,11 @@ describe('265. Token based authentication', function() {
18031803
}
18041804
});
18051805

1806-
it('265.2.11 standalone connection with not readable data', async () => {
1806+
it('265.2.11 standalone connection with random token and private key', async () => {
18071807
let conn;
18081808
const ResObj = {
1809-
token : '1Àè&ýÿÿ¿',
1810-
privateKey : '1Àè&ýÿÿ¿'
1809+
token : 'Hello',
1810+
privateKey : 'World'
18111811
};
18121812
try {
18131813
conn = await oracledb.getConnection({

0 commit comments

Comments
 (0)