Missing ConfigRestorer in test.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Feb 2022 08:25:48 +0000 (09:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Feb 2022 08:25:48 +0000 (09:25 +0100)
test/config_test.cc

index 6a65deb2e1a95f638dee2bb991aae5c92a094a51..6b35c595d0b60792b849056f7b66597ae1592c51 100644 (file)
@@ -196,6 +196,8 @@ BOOST_AUTO_TEST_CASE (config_upgrade_test)
 
 BOOST_AUTO_TEST_CASE (config_keep_cinemas_if_making_new_config)
 {
+       ConfigRestorer cr;
+
        boost::filesystem::path dir = "build/test/config_keep_cinemas_if_making_new_config";
        Config::override_path = dir;
        Config::drop ();