move more access into methods #7107
build-and-test.yml
on: push
Test docs
3m 42s
Check formatting
4m 42s
Matrix: Build and test
Matrix: Build and integration-test
Annotations
13 errors and 4 warnings
org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec ► Ontologies endpoint should be able to create resource instances with all properties, when adding cardinalities on super class first:
integration/src/test/scala/org/knora/webapi/e2e/v2/ontology/CardinalitiesV2E2ESpec.scala#L186
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 400 Bad Request did not equal 200 OK {"knora-api:error":"dsp.errors.BadRequestException: New file value properties cannot be created","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec ► Ontologies endpoint should be able to create resource instances with all properties, when adding cardinalities on sub class first:
integration/src/test/scala/org/knora/webapi/e2e/v2/ontology/CardinalitiesV2E2ESpec.scala#L186
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 400 Bad Request did not equal 200 OK {"knora-api:error":"dsp.errors.BadRequestException: New file value properties cannot be created","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec ► Ontologies endpoint should not be able to create subclass instances with missing required properties defined on superclass, when adding cardinalities on super class first:
integration/src/test/scala/org/knora/webapi/e2e/v2/ontology/CardinalitiesV2E2ESpec.scala#L186
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 400 Bad Request did not equal 200 OK {"knora-api:error":"dsp.errors.BadRequestException: New file value properties cannot be created","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec ► Ontologies endpoint should not be able to create subclass instances with missing properties defined on superclass, when adding cardinalities on sub class first:
integration/src/test/scala/org/knora/webapi/e2e/v2/ontology/CardinalitiesV2E2ESpec.scala#L186
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.ontology.CardinalitiesV2E2ESpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 400 Bad Request did not equal 200 OK {"knora-api:error":"dsp.errors.BadRequestException: New file value properties cannot be created","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should create a property anything:hasName as a subproperty of knora-api:hasValue and schema:name:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L456
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 400 Bad Request did not equal 200 OK {"knora-api:error":"dsp.errors.BadRequestException: New file value properties cannot be created","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should change the rdfs:label of a property:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L510
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 404 Not Found did not equal 200 OK HttpResponse(404 Not Found,List(),HttpEntity.Strict(application/json,195 bytes total),HttpProtocol(HTTP/1.1))
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should change the rdfs:comment of a property:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L566
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 404 Not Found did not equal 200 OK HttpResponse(404 Not Found,List(),HttpEntity.Strict(application/json,195 bytes total),HttpProtocol(HTTP/1.1))
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should change the salsah-gui:guiElement and salsah-gui:guiAttribute of a property:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L833
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 404 Not Found did not equal 200 OK {"knora-api:error":"dsp.errors.NotFoundException: Property PropertyIri(http://0.0.0.0:3333/ontology/0001/anything/v2#hasName) not found","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should remove the salsah-gui:guiElement and salsah-gui:guiAttribute from a property:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L933
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 404 Not Found did not equal 200 OK {"knora-api:error":"dsp.errors.NotFoundException: Property PropertyIri(http://0.0.0.0:3333/ontology/0001/anything/v2#hasName) not found","@context":{"knora-api":"http://api.knora.org/ontology/knora-api/v2#"}}
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should create a class anything:WildThing that is a subclass of anything:Thing, with a direct cardinality for anything:hasName:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L1009
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 404 Not Found did not equal 200 OK HttpResponse(404 Not Found,List(),HttpEntity.Strict(application/json,243 bytes total),HttpProtocol(HTTP/1.1))
|
org.knora.webapi.e2e.v2.OntologyV2R2RSpec ► The Ontologies v2 Endpoint should create a property anything:hasOtherNothing with knora-api:objectType anything:Nothing:
integration/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala#L1248
Failed test found in:
./integration/target/test-reports/TEST-org.knora.webapi.e2e.v2.OntologyV2R2RSpec.xml
Error:
sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 400 Bad Request did not equal 200 OK HttpResponse(400 Bad Request,List(),HttpEntity.Strict(application/json,554 bytes total),HttpProtocol(HTTP/1.1))
|
Build and integration-test (21)
Process completed with exit code 2.
|
Build and integration-test (21)
Failed test were found and 'fail-on-error' option is set to true
|
Test docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and test (21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and integration-test (21)
Test report summary exceeded limit of 65535 bytes and will be trimmed
|