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

Skip to content

Commit aae83f2

Browse files
committed
Fix get_reporters_list unit-test
1 parent 7b34109 commit aae83f2

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

test/api/test_ut_runner.pkb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,17 +278,16 @@ end;';
278278
procedure test_get_reporters_list is
279279
l_expected sys_refcursor;
280280
l_actual sys_refcursor;
281-
l_owner varchar2(128) := ut_utils.ut_owner();
282281
begin
283282
--Arrange
284283
open l_expected for
285-
select l_owner || '.UT_COVERAGE_HTML_REPORTER' reporter_object_name, 'Y' is_output_reporter from dual union all
286-
select l_owner || '.UT_COVERAGE_SONAR_REPORTER', 'Y' from dual union all
287-
select l_owner || '.UT_COVERALLS_REPORTER', 'Y' from dual union all
288-
select l_owner || '.UT_DOCUMENTATION_REPORTER', 'Y' from dual union all
289-
select l_owner || '.UT_SONAR_TEST_REPORTER', 'Y' from dual union all
290-
select l_owner || '.UT_TEAMCITY_REPORTER', 'Y' from dual union all
291-
select l_owner || '.UT_XUNIT_REPORTER', 'Y' from dual;
284+
select 'UT3.UT_COVERAGE_HTML_REPORTER' reporter_object_name, 'Y' is_output_reporter from dual union all
285+
select 'UT3.UT_COVERAGE_SONAR_REPORTER', 'Y' from dual union all
286+
select 'UT3.UT_COVERALLS_REPORTER', 'Y' from dual union all
287+
select 'UT3.UT_DOCUMENTATION_REPORTER', 'Y' from dual union all
288+
select 'UT3.UT_SONAR_TEST_REPORTER', 'Y' from dual union all
289+
select 'UT3.UT_TEAMCITY_REPORTER', 'Y' from dual union all
290+
select 'UT3.UT_XUNIT_REPORTER', 'Y' from dual;
292291
--Act
293292
open l_actual for select * from table(ut3.ut_runner.GET_REPORTERS_LIST()) order by 1;
294293
--Assert

0 commit comments

Comments
 (0)