@@ -127,7 +127,7 @@ class OrtResultTest : WordSpec({
127
127
" getDefinitionFilePathRelativeToAnalyzerRoot()" should {
128
128
" use the correct vcs" {
129
129
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 )
131
131
val nestedVcs1 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git1" , revision = " " )
132
132
val nestedVcs2 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git2" , revision = " " )
133
133
val project1 = Project .EMPTY .copy(
@@ -168,7 +168,7 @@ class OrtResultTest : WordSpec({
168
168
169
169
" fail if no vcs matches" {
170
170
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 )
172
172
val nestedVcs1 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git1" , revision = " " )
173
173
val nestedVcs2 = VcsInfo (type = VcsType .GIT , url = " https://example.com/git2" , revision = " " )
174
174
val project = Project .EMPTY .copy(
0 commit comments