summaryrefslogtreecommitdiff
path: root/tests/acl-with-group.scm
diff options
context:
space:
mode:
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> .
+")))