diff --git a/model/src/test/kotlin/PackageCurationTest.kt b/model/src/test/kotlin/PackageCurationTest.kt index 638799e8e1b6d..1402f3f2623f4 100644 --- a/model/src/test/kotlin/PackageCurationTest.kt +++ b/model/src/test/kotlin/PackageCurationTest.kt @@ -422,7 +422,7 @@ class PackageCurationTest : WordSpec({ private fun packageCurationForVersion(version: String) = PackageCuration(identifierForVersion(version), PackageCurationData()) -private fun identifierForVersion(version: String) = Identifier(type = "", namespace = "", name = "", version = version) +private fun identifierForVersion(version: String) = Identifier.EMPTY.copy(version = version) private fun declaredLicenseMappingCuration(id: Identifier, vararg entries: Pair): PackageCuration = PackageCuration(