Fix test in previous.
authorCarl Hetherington <cth@carlh.net>
Fri, 12 Jan 2024 23:14:44 +0000 (00:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 12 Jan 2024 23:14:44 +0000 (00:14 +0100)
test/verify_test.cc

index e55e0b6e29b8d9079c7cf7bfa8ecdbdf33dac1fe..5a9489febdc664034ed01bce342f4f5b7a79e1f8 100644 (file)
@@ -430,7 +430,7 @@ BOOST_AUTO_TEST_CASE (verify_failed_read_content_kind)
                {
                        dcp::VerificationNote(
                                dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::MISMATCHED_CPL_HASHES, dcp_test1_cpl_id(), canonical(dir / dcp_test1_cpl())
-                               ).set_reference_hash(calc.old_hash()).set_calculated_hash("4v/mVjs1Rw0NELxgyHa5rSpoBPA="),
+                               ).set_reference_hash(calc.old_hash()).set_calculated_hash(calc.new_hash()),
                        { dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::INVALID_CONTENT_KIND, string("xtrailer") }
                });
 }