Skip to content

Commit 5728fb4

Browse files
committed
Fix tests
1 parent 378b397 commit 5728fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utbot-framework-test/src/test/kotlin/org/utbot/sarif/SarifReportTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class SarifReportTest {
7373
val report = sarifReportMain.createReport()
7474

7575
val result = report.runs.first().results.first()
76-
val location = result.locations.first().physicalLocation
76+
val location = result.locations.filterIsInstance<SarifPhysicalLocationWrapper>().first().physicalLocation
7777
val relatedLocation = result.relatedLocations.first().physicalLocation
7878

7979
assert(location.artifactLocation.uri.contains("Main.java"))

0 commit comments

Comments
 (0)