Skip to content

Commit 07fa200

Browse files
committed
Update test/resultSet2.js
1 parent 11b3e46 commit 07fa200

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

test/list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
55.11 result set with unsupported data types
443443
55.11.1 ROWID data type
444444
55.12 bind a cursor BIND_INOUT
445-
- 55.12.1 should work
445+
- 55.12.1 does not work currently due to known bug
446446

447447
56. fetchAs.js
448448
56.1 property value check

test/resultSet2.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,16 @@ describe('55. resultSet2.js', function() {
794794
})
795795

796796
describe.skip('55.12 bind a cursor BIND_INOUT', function() {
797-
it('55.12.1 should work', function(done) {
797+
798+
before('prepare table oracledb_employees', function(done) {
799+
setUp(connection, tableName, done);
800+
})
801+
802+
after('drop table', function(done) {
803+
clearUp(connection, tableName, done);
804+
})
805+
806+
it('55.12.1 does not work currently due to known bug', function(done) {
798807
var proc =
799808
"CREATE OR REPLACE PROCEDURE get_emp_rs_inout (p_in IN NUMBER, p_out IN OUT SYS_REFCURSOR) \
800809
AS \
@@ -823,6 +832,7 @@ describe('55. resultSet2.js', function() {
823832
},
824833
function(err, result) {
825834
should.not.exist(err);
835+
// Error occurs - NJS-007: invalid value for "type" in parameter 2
826836
console.log(result);
827837
callback();
828838
}

0 commit comments

Comments
 (0)