Skip to content

Commit

Permalink
[#162202420] fedora characterization tests were broken,fix see readme…
Browse files Browse the repository at this point in the history
… in /etc/fcrepo
  • Loading branch information
Greg Farris committed Dec 4, 2018
1 parent 696de60 commit 788d019
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions etc/fcrepo/tests/fcrepo-create.postman_collection.json
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "50ec8037-6275-40ba-bb94-9f70ff3a558c",
"_postman_id": "b71d3bbe-e6fb-4437-b69a-e02ff3e5a12f",
"name": "fcrepo-create",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
Expand Down Expand Up @@ -1552,7 +1552,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"@context\" : [\"http://kgrid.org/koio/contexts/knowledgeobject.jsonld\" ],\n \"@graph\": [\n {\n \"@id\": \"hello-world\",\n \"@type\":\"koio:KnowledgeObject\",\n \"dc:identifer\":\"ark:/hello-world\",\n \"dc:title\":\"Hello World Title\",\n \"koio:contributors\": \"Kgrid Team\",\n \"dc:description\": \"Test Hello World \", \n \"koio:keywords\": [\"test\", \"hello\", \"world\"],\n \"hasImplementation\":[\n \"../hello/world/v0.0.1\",\n \"../hello/world/v0.0.2\"\n ]\n }\n ]\n}\n "
"raw": "{\n \"@context\" : [\"http://kgrid.org/koio/contexts/knowledgeobject.jsonld\" ],\n \"@graph\": [\n {\n \"@id\": \"hello-world\",\n \"@type\":\"koio:KnowledgeObject\",\n \"dc:identifer\":\"ark:/hello-world\",\n \"dc:title\":\"Hello World Title\",\n \"koio:contributors\": \"Kgrid Team\",\n \"dc:description\": \"Test Hello World \", \n \"koio:keywords\": [\"test\", \"hello\", \"world\"],\n \"hasImplementation\":[\n \"hello-world/v0.0.1\",\n \"hello-world/v0.0.2\"\n ]\n }\n ]\n}\n "
},
"url": {
"raw": "{{fcrepo-url}}/hello-world",
Expand Down Expand Up @@ -1685,17 +1685,17 @@
"pm.test(\"Find Hello World\", function () {",
" var jsonData = pm.response.json();",
" console.log(jsonData['@graph'][0].identifer);",
" pm.expect(jsonData['@graph'][0].identifer).to.eql(\"ark:/hello/world\");",
" pm.expect(jsonData['@graph'][0].identifer).to.eql(\"ark:/hello-world\");",
"});",
"",
"pm.test(\"Implementation\", function () {",
" var jsonData = pm.response.json();",
" pm.expect(jsonData['@graph'][0].hasImplementation[0]).to.eql(\"http://localhost:8080/fcrepo/rest/hello/world/v0.0.1\");",
" pm.expect(jsonData['@graph'][0].hasImplementation[0]).to.eql(\"http://localhost:8080/fcrepo/rest/hello-world/v0.0.1\");",
"});",
"",
"pm.test(\"Service Specification\", function () {",
" var jsonData = pm.response.json();",
" pm.expect(jsonData['@graph'][1].hasServiceSpecification).to.eql(\"http://localhost:8080/fcrepo/rest/hello/world/v0.0.1/service-specification.yaml\");",
" pm.expect(jsonData['@graph'][1].hasServiceSpecification).to.eql(\"http://localhost:8080/fcrepo/rest/hello-world/v0.0.1/service-specification.yaml\");",
"});"
],
"type": "text/javascript"
Expand Down

0 comments on commit 788d019

Please sign in to comment.