Skip to content

Commit c0d5035

Browse files
committed
Disabled test for version below 12.2.
1 parent fed5007 commit c0d5035

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

test/ut3_user/expectations/test_expectations_cursor.pkb

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2849,15 +2849,19 @@ Check the query and data for errors.';
28492849
l_expected sys_refcursor;
28502850
begin
28512851
-- populate actual
2852-
open l_actual for
2853-
select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
2852+
$if dbms_db_version.version = 12 and dbms_db_version.release >= 2 or dbms_db_version.version > 12 $then
2853+
open l_actual for
2854+
select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
28542855

2855-
open l_expected for
2856-
select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
2856+
open l_expected for
2857+
select rownum as id, '1' some_column_with_a_pretty_long_enough_name from dual;
28572858

2858-
ut3.ut.expect(l_actual).to_equal(l_expected).include('ID,SOME_COLUMN_WITH_A_PRETTY_LONG_ENOUGH_NAME').join_by('ID');
2859-
--Assert
2860-
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
2859+
ut3.ut.expect(l_actual).to_equal(l_expected).include('ID,SOME_COLUMN_WITH_A_PRETTY_LONG_ENOUGH_NAME').join_by('ID');
2860+
--Assert
2861+
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
2862+
$else
2863+
null;
2864+
#end
28612865
end;
28622866

28632867
end;

0 commit comments

Comments
 (0)