Skip to content

Commit c6e73e7

Browse files
committed
update tests to rdflib v2.2.3 using solid namespace
1 parent 8ea7aca commit c6e73e7

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

test/integration/patch-sparql-update-test.js

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,32 +53,31 @@ describe('PATCH through application/sparql-update', function () {
5353
it('should delete a single triple from a pad document', function (done) {
5454
const expected = `\
5555
@prefix : </existingTriple.ttl#>.
56+
@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
5657
@prefix dc: <http://purl.org/dc/elements/1.1/>.
57-
@prefix mee: <http://www.w3.org/ns/pim/meeting#>.
58+
@prefix meeting: <http://www.w3.org/ns/pim/meeting#>.
59+
@prefix pad: <http://www.w3.org/ns/pim/pad#>.
60+
@prefix sioc: <http://rdfs.org/sioc/ns#>.
61+
@prefix ui: <http://www.w3.org/ns/ui#>.
62+
@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.
63+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
5864
@prefix c: <https://www.w3.org/People/Berners-Lee/card#>.
59-
@prefix XML: <http://www.w3.org/2001/XMLSchema#>.
60-
@prefix p: <http://www.w3.org/ns/pim/pad#>.
6165
@prefix ind: </parent/index.ttl#>.
62-
@prefix n: <http://rdfs.org/sioc/ns#>.
63-
@prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
64-
@prefix ic: <http://www.w3.org/2002/12/cal/ical#>.
65-
@prefix ui: <http://www.w3.org/ns/ui#>.
6666
67-
:id1477502276660 dc:author c:i; n:content ""; p:next :this.
67+
:id1477502276660 dc:author c:i; sioc:content ""; pad:next :this.
6868
69-
:id1477522707481\n ic:dtstart "2016-10-26T22:58:27Z"^^XML:dateTime;
70-
flow:participant c:i;
69+
:id1477522707481\n cal:dtstart "2016-10-26T22:58:27Z"^^xsd:dateTime;
70+
wf:participant c:i;
7171
ui:backgroundColor "#c1d0c8".
7272
:this
73-
a p:Notepad;
73+
a pad:Notepad;
7474
dc:author c:i;
75-
dc:created "2016-10-25T15:44:42Z"^^XML:dateTime;
75+
dc:created "2016-10-25T15:44:42Z"^^xsd:dateTime;
7676
dc:title "Shared Notes";
77-
p:next :id1477502276660.
78-
ind:this flow:participation :id1477522707481; mee:sharedNotes :this.
77+
pad:next :id1477502276660.
78+
ind:this wf:participation :id1477522707481; meeting:sharedNotes :this.
7979
8080
`
81-
8281
write(`\n\
8382
8483
@prefix dc: <http://purl.org/dc/elements/1.1/>.

0 commit comments

Comments
 (0)