Further test refactoring
This commit is contained in:
parent
3d90642926
commit
f3a1ea518d
|
@ -109,7 +109,6 @@ describe('100.binding_defaultBindIn.js', function() {
|
|||
"END ; ";
|
||||
let sqlRun = "BEGIN :output := " + fun_name + " (:i, :c); END;";
|
||||
let proc_drop = "DROP FUNCTION " + fun_name;
|
||||
// console.log(proc);
|
||||
|
||||
await connection.execute(createTable);
|
||||
await connection.execute(proc);
|
||||
|
|
|
@ -98,7 +98,6 @@ describe('97.binding_functionBindOut.js', function() {
|
|||
"END ; ";
|
||||
let sqlRun = "BEGIN :output := " + fun_name + " (:i, :c); END;";
|
||||
let proc_drop = "DROP FUNCTION " + fun_name;
|
||||
// console.log(proc);
|
||||
let inserted = getInsertVal(dbColType, nullBind);
|
||||
let insertSql = "insert into " + table_name + " (id, content) values (:c1, :c2)";
|
||||
await executeSql(createTable);
|
||||
|
@ -107,7 +106,6 @@ describe('97.binding_functionBindOut.js', function() {
|
|||
c2: { val: inserted[0], type: inserted[1], dir: oracledb.BIND_IN }
|
||||
};
|
||||
|
||||
// console.log(insertSql);
|
||||
await connection.execute(insertSql, bind);
|
||||
await executeSql(proc);
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ describe('222. callTimeout.js', function() {
|
|||
() => {
|
||||
conn.callTimeout = TIME_OUT;
|
||||
},
|
||||
/NJS-004: invalid value for property callTimeout/
|
||||
/NJS-004:/
|
||||
);
|
||||
}); // 222.4
|
||||
|
||||
|
@ -115,7 +115,7 @@ describe('222. callTimeout.js', function() {
|
|||
() => {
|
||||
conn.callTimeout = TIME_OUT;
|
||||
},
|
||||
/NJS-004: invalid value for property callTimeout/
|
||||
/NJS-004:/
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -126,7 +126,7 @@ describe('222. callTimeout.js', function() {
|
|||
() => {
|
||||
conn.callTimeout = TIME_OUT;
|
||||
},
|
||||
/NJS-004: invalid value for property callTimeout/
|
||||
/NJS-004:/
|
||||
);
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -437,5 +437,6 @@ testsUtil.checkUrowidLength = function(urowidLen, expectedLength) {
|
|||
// ROWID is returned which has a fixed size of 18 bytes
|
||||
if (dbConfig.test.isCloudService)
|
||||
expectedLength = 18;
|
||||
assert(urowidLen >= expectedLength);
|
||||
assert(urowidLen >= expectedLength,
|
||||
`${urowidLen} should be >= ${expectedLength}`);
|
||||
};
|
||||
|
|
|
@ -560,4 +560,3 @@ describe('115. urowidDMLBindAsString2.js', function() {
|
|||
};
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue