changeset 266:a08dca15790e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Dec 2012 13:19:42 +0100
parents 5b8e8b74bc8b
children 4bc02e2254ec
files UnitTests/ServerIndex.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTests/ServerIndex.cpp	Fri Dec 07 13:18:59 2012 +0100
+++ b/UnitTests/ServerIndex.cpp	Fri Dec 07 13:19:42 2012 +0100
@@ -319,9 +319,8 @@
 
 TEST(DatabaseWrapper, PatientProtection)
 {
-  Toolbox::RemoveFile("hi.sqlite");
   ServerIndexListener listener;
-  DatabaseWrapper index("hi.sqlite", listener);
+  DatabaseWrapper index(listener);
 
   std::vector<int64_t> patients;
   for (int i = 0; i < 5; i++)