X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fimport_dcp_test.cc;h=46deea53931480b2bb35965f548245036d7e9bc8;hp=8107aa77a0300e560607f8d21ca2f85d78265da4;hb=7846d4bfb77c117d931aad20239941a491492a78;hpb=91e0b544b6f1b5d3c017a6dc144aade3bc39c78d diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc index 8107aa77a..46deea539 100644 --- a/test/import_dcp_test.cc +++ b/test/import_dcp_test.cc @@ -54,6 +54,8 @@ using std::make_shared; /** Make an encrypted DCP, import it and make a new unencrypted DCP */ BOOST_AUTO_TEST_CASE (import_dcp_test) { + ConfigRestorer cr; + auto A = new_test_film ("import_dcp_test"); A->set_container (Ratio::from_id ("185")); A->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); @@ -100,9 +102,6 @@ BOOST_AUTO_TEST_CASE (import_dcp_test) /* Should be 1s red, 1s green, 1s blue */ check_dcp ("test/data/import_dcp_test2", "build/test/import_dcp_test2/" + B->dcp_name()); - - /* Restore the reference decryption chain */ - setup_test_config (); }