update unit test for sqlite
Change-Id: Id9f428b9cefb5db88e072b384dbd1f02a051e8ef
diff --git a/tests/unit-tests/ca-sqlite.t.cpp b/tests/unit-tests/ca-sqlite.t.cpp
index ee93edd..93d3f72 100644
--- a/tests/unit-tests/ca-sqlite.t.cpp
+++ b/tests/unit-tests/ca-sqlite.t.cpp
@@ -29,7 +29,7 @@
BOOST_AUTO_TEST_CASE(RequestOperations)
{
- CaSqlite storage(Name(), dbDir.string() + "TestCaSqlite_RequestOperations.db");
+ CaSqlite storage(Name(), dbDir.string() + "/TestCaSqlite_RequestOperations.db");
auto identity1 = addIdentity(Name("/ndn/site1"));
auto key1 = identity1.getDefaultKey();
@@ -78,7 +78,7 @@
BOOST_AUTO_TEST_CASE(DuplicateAdd)
{
- CaSqlite storage(Name(), dbDir.string() + "TestCaSqlite_DuplicateAdd.db");
+ CaSqlite storage(Name(), dbDir.string() + "/TestCaSqlite_DuplicateAdd.db");
auto identity1 = addIdentity(Name("/ndn/site1"));
auto key1 = identity1.getDefaultKey();