Skip to content

Commit aaa82b8

Browse files
committed
fixed graph tests
1 parent 2fbb0b1 commit aaa82b8

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

test/integration/ldp-test.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,24 @@ describe('LDP', function () {
4343
<https://tim.localhost:7777/profile/card#me>
4444
<http://www.w3.org/ns/solid/terms#account>
4545
</>.`
46+
47+
const example1TurtleData = `@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
48+
@prefix dc: <http://purl.org/dc/elements/1.1/> .
49+
@prefix ex: <http://example.org/stuff/1.0/> .
50+
51+
<#this> dc:title "Test title" .
52+
53+
<http://www.w3.org/TR/rdf-syntax-grammar>
54+
dc:title "RDF/XML Syntax Specification (Revised)" ;
55+
ex:editor [
56+
ex:fullname "Dave Beckett";
57+
ex:homePage <http://purl.org/net/dajobe/>
58+
] .`
4659
fs.mkdirSync(root, { recursive: true })
47-
fs.writeFileSync(path.join(root, '.meta'), metaData)
4860
fs.mkdirSync(path.join(root, '/resources/'), { recursive: true })
4961
fs.mkdirSync(path.join(root, '/resources/sampleContainer/'), { recursive: true })
62+
fs.writeFileSync(path.join(root, '.meta'), metaData)
63+
fs.writeFileSync(path.join(root, 'resources/sampleContainer/example1.ttl'), example1TurtleData)
5064
})
5165

5266
this.afterAll(() => {

0 commit comments

Comments
 (0)