summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2022-11-21 12:53:56 +0100
committerCarlos Garnacho <carlosg@gnome.org>2022-11-21 13:56:40 +0100
commit6c58347e873b6e8ce904876963068b2624e2f623 (patch)
tree7c24339a393fa21a42dadcf96f87ad716f127649 /tests
parentbf9c25dd7403479eb962d19f9b74a1f7b7a74586 (diff)
downloadtracker-6c58347e873b6e8ce904876963068b2624e2f623.tar.gz
tests: Make property-path tests use absolute IRIs
Do not rely on our loose interpretation of IRIs to make tests work.
Diffstat (limited to 'tests')
-rw-r--r--tests/core/property-paths/data-3.rq4
-rw-r--r--tests/core/property-paths/mixed-graphs.rq4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/core/property-paths/data-3.rq b/tests/core/property-paths/data-3.rq
index 87da24ec1..0d2bb1330 100644
--- a/tests/core/property-paths/data-3.rq
+++ b/tests/core/property-paths/data-3.rq
@@ -1,12 +1,12 @@
INSERT {
- GRAPH <A> {
+ GRAPH <http://example/A> {
_:a a foaf:Person ;
foaf:name "a" ;
foaf:knows _:b .
_:b a foaf:Person ;
foaf:name "A_b" .
}
- GRAPH <B> {
+ GRAPH <http://example/B> {
_:a a foaf:Person;
foaf:knows _:c .
_:c a foaf:Person ;
diff --git a/tests/core/property-paths/mixed-graphs.rq b/tests/core/property-paths/mixed-graphs.rq
index 4c7bb155e..b6a418103 100644
--- a/tests/core/property-paths/mixed-graphs.rq
+++ b/tests/core/property-paths/mixed-graphs.rq
@@ -1,9 +1,9 @@
SELECT ?a ?n1 ?n2 {
- GRAPH <A> {
+ GRAPH <http://example/A> {
?u foaf:name ?a ;
foaf:knows/foaf:name ?n1
}
- GRAPH <B> {
+ GRAPH <http://example/B> {
?u foaf:knows/foaf:name ?n2
}
}