Skip to content

Commit

Permalink
remove tests for conform and hasversion
Browse files Browse the repository at this point in the history
  • Loading branch information
zalborzi committed Jul 26, 2024
1 parent b07cbd1 commit 3729a80
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ void accepts_empty_package() {

var actual = PackageShowMapper.from(ckanPackage);
var expected = RetrievedDataset.builder()
.conformsTo(List.of())
.distributions(List.of())
.hasVersions(List.of())
.languages(List.of())
.themes(List.of())
.keywords(List.of())
Expand Down Expand Up @@ -71,20 +69,10 @@ void can_parse() {
.name("en")
.build()))
.contactUri("contactUri")
.hasVersion(List.of(
CkanValueLabel.builder()
.displayName("version")
.name("1")
.build()))
.accessRights(CkanValueLabel.builder()
.displayName("accessRights")
.name("public")
.build())
.conformsTo(List.of(
CkanValueLabel.builder()
.displayName("conformsTo")
.name("conforms")
.build()))
.provenance("provenance")
.spatialUri(CkanValueLabel.builder()
.displayName("spatial")
Expand Down Expand Up @@ -133,22 +121,10 @@ void can_parse() {
.value("contactUri")
.label("contactUri")
.build())
.hasVersions(List.of(
ValueLabel.builder()
.value("1")
.label("version")
.build()
))
.accessRights(ValueLabel.builder()
.value("public")
.label("accessRights")
.build())
.conformsTo(List.of(
ValueLabel.builder()
.value("conforms")
.label("conformsTo")
.build()
))
.provenance("provenance")
.keywords(List.of(ValueLabel.builder()
.label("key-tag")
Expand Down

0 comments on commit 3729a80

Please sign in to comment.