[Pkg-owncloud-commits] [owncloud-client] 299/484: Fix OwnSql test
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit eb3388de683492e043f9b06c3bd8c1d17325a682
Author: Christian Kamm <mail at ckamm.de>
Date: Wed Nov 11 09:41:44 2015 +0100
Fix OwnSql test
3993a7f636f0a06b71eb3cc97cdb7a9818c02221 added asserts for failing
prepare() calls
---
test/testownsql.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/testownsql.h b/test/testownsql.h
index e60075d..872c11d 100644
--- a/test/testownsql.h
+++ b/test/testownsql.h
@@ -59,10 +59,10 @@ private slots:
void testIsSelect() {
SqlQuery q(_db);
- q.prepare("SELECT foo FROM bar;");
+ q.prepare("SELECT id FROM addresses;");
QVERIFY( q.isSelect() );
- q.prepare("UPDATE bla SET foo = 1;");
+ q.prepare("UPDATE addresses SET id = 1;");
QVERIFY( !q.isSelect());
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list