File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
downloader/src/test/kotlin Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import java.io.IOException
3131import java.lang.UnsupportedOperationException
3232
3333import org.ossreviewtoolkit.downloader.vcs.Git
34- import org.ossreviewtoolkit.model.Identifier
3534import org.ossreviewtoolkit.model.Package
3635import org.ossreviewtoolkit.model.VcsInfo
3736import org.ossreviewtoolkit.model.VcsType
@@ -77,10 +76,9 @@ class VersionControlSystemTest : WordSpec({
7776 " getRevisionCandidates()" should {
7877 " prefer a matching tag name over a branch name from metadata" {
7978 val pkg = Package .EMPTY .copy(
80- id = Identifier ("Gem ::google-cloud-core:1.6.0"),
8179 vcsProcessed = VcsInfo (
8280 type = VcsType .GIT ,
83- url = "https://github.com/googleapis/google-cloud-ruby.git ",
81+ url = "",
8482 revision = "master"
8583 )
8684 )
@@ -96,12 +94,10 @@ class VersionControlSystemTest : WordSpec({
9694
9795 " add 'main' as a candidate for Git if otherwise 'master' is the only one" {
9896 val pkg = Package .EMPTY .copy(
99- id = Identifier ("NuGet ::Microsoft .NETFramework .ReferenceAssemblies .net40:1.0.0-preview.2"),
10097 vcsProcessed = VcsInfo (
10198 type = VcsType .GIT ,
102- url = "https://github.com/Microsoft /dotnet.git",
103- revision = "master",
104- path = "releases/reference-assemblies"
99+ url = "",
100+ revision = "master"
105101 )
106102 )
107103
You can’t perform that action at this time.
0 commit comments