Skip to content

Commit e1340c8

Browse files
committed
Fix non-postgres build
1 parent fa9a98d commit e1340c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/database/test/DatabaseTests.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,12 @@ TEST_CASE("ledgerheaders migration works correctly", "[db]")
595595
Config::TESTDB_POSTGRESQL
596596
#endif
597597
);
598-
Config cfg = getTestConfig(0, mode);
598+
#ifdef USE_POSTGRES
599599
INFO("Testing mode: " << (mode == Config::TESTDB_POSTGRESQL
600600
? "PostgreSQL"
601601
: "Persistent"));
602+
#endif
603+
Config cfg = getTestConfig(0, mode);
602604

603605
VirtualClock clock;
604606
// Set startApp to false to trigger migration manually

0 commit comments

Comments
 (0)