summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-14 00:30:21 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-14 20:45:40 +0200
commitdea00c1b3845382e900b7e592fe4550e95e1bdc0 (patch)
tree1ab5cfda356b3ed6ce7ceeef85e08ad05e7742c7 /test
parent0f3797af7a31fab73d2f963d7690d11853f72865 (diff)
Don't scan the directory on DCPContent creation; instead do it when2528-content
the examine() happens.
Diffstat (limited to 'test')
-rw-r--r--test/encryption_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 9cadd087e..0f7fda7fc 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE (smpte_dcp_with_subtitles_can_be_decrypted)
auto dcp_content = make_shared<DCPContent>(film->dir(film->dcp_name()));
dcp_content->add_kdm (kdm);
- DCPExaminer examiner (dcp_content, false);
+ DCPExaminer examiner(dcp_content, false, content[0]->paths());
BOOST_CHECK (examiner.kdm_valid());
}