summaryrefslogtreecommitdiffstats
path: root/kabc/tests/testdb.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-05-29 02:24:21 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-07-22 15:56:45 +0200
commit2deafc497132f3e413ef0fa64c656e0ce9b9a8a7 (patch)
tree746ab5ea5153d1cec837c1de5fe2e83516c7031a /kabc/tests/testdb.cpp
parent6a8935327be55a6bc2d3bd8e40a9a0982f8f53cc (diff)
downloadtdelibs-2deafc497132f3e413ef0fa64c656e0ce9b9a8a7.tar.gz
tdelibs-2deafc497132f3e413ef0fa64c656e0ce9b9a8a7.zip
cmake: Add tdeabc tests
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 51efac909d7b116c8b0ca58fcd4e74ff58f31091)
Diffstat (limited to 'kabc/tests/testdb.cpp')
-rw-r--r--kabc/tests/testdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/tests/testdb.cpp b/kabc/tests/testdb.cpp
index f94397a62..e4b6aa482 100644
--- a/kabc/tests/testdb.cpp
+++ b/kabc/tests/testdb.cpp
@@ -20,12 +20,12 @@ int main(int argc,char **argv)
AddressBook ab;
- ResourceSql r( &ab, "root", "kde4ever", "localhost" );
+ ResourceSql r( &ab, "root", "kde4ever", "kabc", "localhost" );
if ( ! r.open() ) {
kdDebug() << "Failed to open resource." << endl;
}
- r.load( &ab );
+ r.load();
r.close();