Skip to content

Commit ed93645

Browse files
committed
Fixing stability of data setup rename of test_package_3 to testing_package_3 to avoid odd behavior on 11g
1 parent c935f64 commit ed93645

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/ut3_tester/core/annotations/test_annot_disabled_reason.pkb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ end test_package_2;]';
115115

116116
end test_package_2;]';
117117

118-
execute immediate q'[create or replace package test_package_3 is
118+
execute immediate q'[create or replace package testing_package_3 is
119119

120120
--%suite
121121
--%displayname(Disable tests on test level)
@@ -144,9 +144,9 @@ end test_package_2;]';
144144

145145
--%endcontext
146146

147-
end test_package_3;]';
147+
end testing_package_3;]';
148148

149-
execute immediate q'[create or replace package body test_package_3 is
149+
execute immediate q'[create or replace package body testing_package_3 is
150150

151151
procedure test1 is
152152
begin
@@ -168,7 +168,7 @@ end test_package_3;]';
168168
ut.expect(2).to_equal(2);
169169
end;
170170

171-
end test_package_3;]';
171+
end testing_package_3;]';
172172

173173
execute immediate q'[create or replace package test_package_4 is
174174

@@ -334,10 +334,10 @@ end test_package_6;]';
334334
begin
335335
execute immediate 'drop package test_package_1';
336336
execute immediate 'drop package test_package_2';
337-
execute immediate 'drop package test_package_3';
338-
execute immediate 'drop package test_package_4';
339-
execute immediate 'drop package test_package_5';
340-
execute immediate 'drop package test_package_6';
337+
execute immediate 'drop package testing_package_3';
338+
execute immediate 'drop package test_package_4';
339+
execute immediate 'drop package test_package_5';
340+
execute immediate 'drop package test_package_6';
341341
end;
342342

343343
procedure test_disable_on_suite_level is
@@ -394,7 +394,7 @@ end test_package_6;]';
394394
begin
395395
--Act
396396

397-
select * bulk collect into l_test_results from table(ut3_develop.ut.run((sys_context('USERENV', 'CURRENT_USER')||'.test_package_3')));
397+
select * bulk collect into l_test_results from table(ut3_develop.ut.run((sys_context('USERENV', 'CURRENT_USER')||'.testing_package_3')));
398398

399399
l_actual_message := ut3_develop.ut_utils.table_to_clob(l_test_results);
400400

0 commit comments

Comments
 (0)