@@ -127,7 +127,7 @@ class OrtResultTest : WordSpec({
127127 " getDefinitionFilePathRelativeToAnalyzerRoot()" should {
128128 " use the correct vcs" {
129129 val vcs = VcsInfo (type = VcsType .GIT , url = " https://example.com/git" , revision = " " )
130- val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = vcs.revision )
130+ val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = HashAlgorithm . SHA1 .emptyValue )
131131 val nestedVcs1 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git1" , revision = " " )
132132 val nestedVcs2 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git2" , revision = " " )
133133 val project1 = Project .EMPTY .copy(
@@ -168,7 +168,7 @@ class OrtResultTest : WordSpec({
168168
169169 " fail if no vcs matches" {
170170 val vcs = VcsInfo (type = VcsType .GIT , url = " https://example.com/git" , revision = " " )
171- val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = vcs.revision )
171+ val provenance = RepositoryProvenance (vcsInfo = vcs, resolvedRevision = HashAlgorithm . SHA1 .emptyValue )
172172 val nestedVcs1 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git1" , revision = " " )
173173 val nestedVcs2 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git2" , revision = " " )
174174 val project = Project .EMPTY .copy(
0 commit comments