Skip to content

Commit

Permalink
test(oracledb): created a custom test for because return of oracle dr…
Browse files Browse the repository at this point in the history
…iver is a number
  • Loading branch information
gabolera committed May 11, 2024
1 parent d985501 commit 6e76967
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion test/integration2/query/select/where.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ describe('Where', function () {
]
);
tester(
['pg', 'pgnative', 'pg-redshift', 'oracledb'],
['pg', 'pgnative', 'pg-redshift'],
'select * from "accounts" where "id" = ?',
[1],
[
Expand Down Expand Up @@ -234,6 +234,25 @@ describe('Where', function () {
},
]
);
tester(
'oracledb',
'select * from "accounts" where "id" = ?',
[1],
[
{
id: 1,
first_name: 'Test',
last_name: 'User',
email: 'test1@example.com',
logins: 1,
balance: 0,
about: 'Lorem ipsum Dolore labore incididunt enim.',
created_at: TEST_TIMESTAMP,
updated_at: TEST_TIMESTAMP,
phone: null,
},
]
);
});
});

Expand Down

0 comments on commit 6e76967

Please sign in to comment.