Skip to content

Commit 92fde3e

Browse files
committed
contacts: include groups in e2e address book
1 parent 699fdd5 commit 92fde3e

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

contacts/src/e2e-tests/contacts.e2e.spec.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,16 @@ describe("contacts module", () => {
4040
name: "Molly Braaten",
4141
},
4242
],
43-
groups: [],
43+
groups: [
44+
{
45+
name: "Officials",
46+
uri: "http://localhost:3456/4243dbb6-3126-4bf9-9ea7-45e35c3c8d9d/Group/1f0d98b1-5eac-4c44-b6e2-29d9784c40cb/index.ttl#this",
47+
},
48+
{
49+
name: "Friends",
50+
uri: "http://localhost:3456/4243dbb6-3126-4bf9-9ea7-45e35c3c8d9d/Group/88f4eb67-f510-49c8-8d52-9080cd3e489f/index.ttl#this",
51+
},
52+
],
4453
});
4554
});
4655

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<#this>
2+
<http://www.w3.org/2006/vcard/ns#fn> "Friends" ;
3+
a <http://www.w3.org/2006/vcard/ns#Group> ;
4+
.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@prefix : <#> .
2+
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
3+
4+
<index.ttl#this>
5+
vcard:includesGroup <Group/1f0d98b1-5eac-4c44-b6e2-29d9784c40cb/index.ttl#this>, <Group/88f4eb67-f510-49c8-8d52-9080cd3e489f/index.ttl#this> .
6+
7+
<Group/1f0d98b1-5eac-4c44-b6e2-29d9784c40cb/index.ttl#this>
8+
a vcard:Group ;
9+
vcard:fn "Officials" .
10+
11+
<Group/88f4eb67-f510-49c8-8d52-9080cd3e489f/index.ttl#this>
12+
a vcard:Group ;
13+
vcard:fn "Friends" .

0 commit comments

Comments
 (0)