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

Skip to content

Commit ffc190b

Browse files
authored
Merge pull request #442 from utPLSQL/jgebal-patch-1
Fix to `ut_sonar_test_reporter`
2 parents 424a01c + 07f7900 commit ffc190b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/reporters/ut_sonar_test_reporter.tpb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ create or replace type body ut_sonar_test_reporter is
3232
if a_file_mappings is not null then
3333
for i in 1 .. a_file_mappings.count loop
3434
if upper(a_file_mappings(i).object_name) = upper(a_suite.object_name)
35-
and upper(a_file_mappings(i).object_owner) = upper(a_suite.object_owner) then
35+
and upper(a_file_mappings(i).object_owner) = upper(a_suite.object_owner)
36+
and a_file_mappings(i).object_type = 'PACKAGE BODY' then
3637
l_file_name := a_file_mappings(i).file_name;
3738
exit;
3839
end if;

0 commit comments

Comments
 (0)