summaryrefslogtreecommitdiff
path: root/test/config_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-24 19:53:30 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-24 19:53:30 +0100
commit2393c78685ce37a291b6ef9a3911dd2cf6e20eed (patch)
tree037a19d04aaf0c4c72543ec6b79b0041ebaaadf5 /test/config_test.cc
parentb4ca915a4a41c125f30439b588cc9d6f54fbee09 (diff)
Fix tests being broken by new config test.v2.15.132
Diffstat (limited to 'test/config_test.cc')
-rw-r--r--test/config_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/config_test.cc b/test/config_test.cc
index 4ca3ba07f..0c5c86a4a 100644
--- a/test/config_test.cc
+++ b/test/config_test.cc
@@ -102,5 +102,10 @@ BOOST_AUTO_TEST_CASE (config_write_utf8_test)
Config::instance()->write();
check_file ("test/data/utf8_config.xml", "build/test/config.xml");
+
+ /* This test has called Config::set_defaults(), so take us back
+ to the config that we want for our tests.
+ */
+ setup_test_config ();
}