summaryrefslogtreecommitdiff
path: root/tests/acl-with-group.scm
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-06-15 19:02:39 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-17 12:24:08 +0200
commit8879c107f3b25cfd51249b75a73cea608a1bf143 (patch)
tree04ac4560c711aafe6bb3445f983dc7cde417fdfb /tests/acl-with-group.scm
parent089ff9eea238de05159ed2eaee0bff93793c9a4c (diff)
Implement WAC0.4.11
Diffstat (limited to 'tests/acl-with-group.scm')
-rw-r--r--tests/acl-with-group.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/acl-with-group.scm b/tests/acl-with-group.scm
new file mode 100644
index 0000000..210cc21
--- /dev/null
+++ b/tests/acl-with-group.scm
@@ -0,0 +1,11 @@
+(define (http-get uri)
+ (unless (equal? uri
+ (string->uri "https://group-server.example.com/the#group"))
+ (exit 1)
+ (values
+ (build-response #:headers '((content-type text/turtle)))
+ "@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.
+
+<#group> a vcard:Group;
+ vcard:hasMember <https://other-user.example.com/profile/card#me> .
+")))