Skip to content

Commit 2c2231d

Browse files
committed
Fix a test diff
1 parent d8b4f17 commit 2c2231d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/dbObject10.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ describe('209. dbObject10.js', () => {
126126
let result = await conn.execute(`SELECT contact FROM ${TABLE}`);
127127
let dbObj = result.rows[0][0];
128128

129-
let expect = `x[HR.NODB_PERSON_TYP] { IDNO: 65,\n FIRST_NAME: 'Verna',\n LAST_NAME: 'Mills',\n EMAIL: '[email protected]',\n PHONE: '1-650-555-0125' }`;
129+
let schema = dbconfig.user.toUpperCase();
130+
let expect = `x[${schema}.NODB_PERSON_TYP] { IDNO: 65,\n FIRST_NAME: 'Verna',\n LAST_NAME: 'Mills',\n EMAIL: '[email protected]',\n PHONE: '1-650-555-0125' }`;
130131
let actual = 'x' + dbObj;
131132
should.strictEqual(actual, expect);
132133

0 commit comments

Comments
 (0)