Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b399115

Browse files
committed
Update tests
1 parent 296102a commit b399115

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/ut3_user/expectations/test_expectations_cursor.pkb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,14 +2549,14 @@ Diff:%
25492549
l_exp_message varchar2(32000);
25502550
begin
25512551
l_exp_message :='ORA-20218: SQL exception thrown when fetching data from cursor:
2552-
ORA-01722: invalid number
2552+
ORA-01476: divisor is equal to zero
25532553
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2561 ut3.ut.expect(l_actual).to_equal(l_expected);
25542554
Check the query and data for errors.';
25552555

25562556
open l_actual for
2557-
select cast(null as number(10)) as usd_price_amt from dual where dummy = 1;
2557+
select 1 as test from dual;
25582558
open l_expected for
2559-
select 1357 as usd_price_amt from dual;
2559+
select 1/0 as test from dual;
25602560

25612561
ut3.ut.expect(l_actual).to_equal(l_expected);
25622562
--Line that error relates to in expected messag
@@ -2575,7 +2575,7 @@ Check the query and data for errors.';
25752575

25762576
l_exp_message :='ORA-20218: SQL exception thrown when fetching data from cursor:
25772577
ORA-01476: divisor is equal to zero
2578-
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2589 ut3.ut.expect(l_actual).to_equal(l_expected);
2578+
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2586 ut3.ut.expect(l_actual).to_equal(l_expected);
25792579
Check the query and data for errors.';
25802580

25812581
open l_expected for

0 commit comments

Comments
 (0)