diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2019-08-31 04:29:02 +0300 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2019-10-02 13:44:19 +0200 |
commit | 9307efded641392e9f55f213f035f352710829e8 (patch) | |
tree | bc5b665034b60d24f3e447c35da60743530ebab3 | |
parent | c94a8f02258d189a0726a1cd45d3bfe2b282f6fd (diff) | |
download | tracker-9307efded641392e9f55f213f035f352710829e8.tar.gz |
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!
-rw-r--r-- | tests/functional-tests/ipc/test-insert-or-replace.vala | 8 |
1 files 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 { |