[tracker/sam/tracker-2.3-developer-experience: 2/45] functional-tests/ipc: Fix invalid INSERT in testcase
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/tracker-2.3-developer-experience: 2/45] functional-tests/ipc: Fix invalid INSERT in testcase
- Date: Wed, 2 Oct 2019 11:53:47 +0000 (UTC)
commit 9307efded641392e9f55f213f035f352710829e8
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Aug 31 04:29:02 2019 +0300
functional-tests/ipc: Fix invalid INSERT in testcase
The test passed, but it was actually hitting a g_critical(). Improved
logging meant that the error became visible in the logs!
tests/functional-tests/ipc/test-insert-or-replace.vala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/ipc/test-insert-or-replace.vala
b/tests/functional-tests/ipc/test-insert-or-replace.vala
index 718dfc8f4..ce64eecbe 100644
--- a/tests/functional-tests/ipc/test-insert-or-replace.vala
+++ b/tests/functional-tests/ipc/test-insert-or-replace.vala
@@ -3,11 +3,11 @@ using Tracker;
using Tracker.Sparql;
const string insert_query_replace = "
-DELETE { ?r nao:hasProperty ?property . }
+DELETE { ?r nao:hasTag ?tag . }
WHERE {
?r a nco:PhoneNumber;
nco:phoneNumber \"02141730585%d\";
- nao:hasProperty ?property .
+ nao:hasTag ?tag .
}
DELETE {
@@ -57,10 +57,10 @@ INSERT OR REPLACE {
}";
const string insert_query_original = "
-DELETE { ?r nao:hasProperty ?property . }
+DELETE { ?r nao:tag ?tag . }
WHERE {
?r a nco:PhoneNumber; nco:phoneNumber \"2141730585%d\";
- nao:hasProperty ?property .
+ nao:hasTag ?tag .
}
DELETE {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]