summaryrefslogtreecommitdiff
path: root/test/template_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/template_test.cc')
-rw-r--r--test/template_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/template_test.cc b/test/template_test.cc
index 014a27309..064a070c1 100644
--- a/test/template_test.cc
+++ b/test/template_test.cc
@@ -33,9 +33,7 @@ using std::string;
/* Bug #2491 */
BOOST_AUTO_TEST_CASE(template_wrong_channel_counts)
{
- ConfigRestorer cr;
-
- Config::override_path = "test/data";
+ ConfigRestorer cr("test/data");
auto film = new_test_film("template_wrong_channel_counts", {});
film->use_template(string("Bug"));