Skip to content

Commit

Permalink
Update ResourcesRouteV2E2ESpec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Aug 24, 2023
1 parent 325caea commit 3ea8839
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -769,14 +769,14 @@ class ResourcesRouteV2E2ESpec extends E2ESpec {
| }
| },
| "anything:hasRichtext" : {
| "@type" : "knora-api:TextValue",
| "@type" : "knora-api:FormattedTextValue",
| "knora-api:textValueAsXml" : "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<text><p><strong>this is</strong> text</p> with standoff</text>",
| "knora-api:textValueHasMapping" : {
| "@id" : "http://rdfh.ch/standoff/mappings/StandardMapping"
| }
| },
| "anything:hasText" : {
| "@type" : "knora-api:TextValue",
| "anything:hasUnformattedText" : {
| "@type" : "knora-api:UnformattedTextValue",
| "knora-api:valueAsString" : "this is text without standoff"
| },
| "anything:hasUri" : {
Expand Down Expand Up @@ -832,6 +832,7 @@ class ResourcesRouteV2E2ESpec extends E2ESpec {
)
val resourceSimpleGetResponse: HttpResponse = singleAwaitingRequest(resourceSimpleGetRequest)
val resourceSimpleGetResponseAsString = responseToString(resourceSimpleGetResponse)
assert(resourceSimpleGetResponse.status == StatusCodes.OK, resourceSimpleGetResponseAsString)

instanceChecker.check(
instanceResponse = resourceSimpleGetResponseAsString,
Expand Down

0 comments on commit 3ea8839

Please sign in to comment.