@@ -163,7 +163,7 @@ class OrtResultTest : WordSpec({
163163 " getDefinitionFilePathRelativeToAnalyzerRoot()" should {
164164 " use the correct vcs" {
165165 val vcs = VcsInfo (type = VcsType .GIT , url = " https://example.com/git" , revision = " " )
166- val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = vcs.revision )
166+ val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = HashAlgorithm . SHA1 .emptyValue )
167167 val nestedVcs1 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git1" , revision = " " )
168168 val nestedVcs2 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git2" , revision = " " )
169169 val project1 = Project .EMPTY .copy(
@@ -204,7 +204,7 @@ class OrtResultTest : WordSpec({
204204
205205 " fail if no vcs matches" {
206206 val vcs = VcsInfo (type = VcsType .GIT , url = " https://example.com/git" , revision = " " )
207- val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = vcs.revision )
207+ val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = HashAlgorithm . SHA1 .emptyValue )
208208 val nestedVcs1 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git1" , revision = " " )
209209 val nestedVcs2 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git2" , revision = " " )
210210 val project = Project .EMPTY .copy(
0 commit comments