Apply the remainder of a 1.x patch; a test.
[dcpomatic.git] / test / film_metadata_test.cc
index cc29f4472193255f0e5acc2020b5bf7df802975b..01cff5b06c46fbb993eb397f68bdefc9a1329a0e 100644 (file)
@@ -21,7 +21,6 @@
  *  @brief Test some basic reading/writing of film metadata.
  */
 
-#include <sstream>
 #include <boost/test/unit_test.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/date_time.hpp>
@@ -31,7 +30,6 @@
 #include "test.h"
 
 using std::string;
-using std::stringstream;
 using std::list;
 using boost::shared_ptr;
 
@@ -40,7 +38,7 @@ BOOST_AUTO_TEST_CASE (film_metadata_test)
        shared_ptr<Film> f = new_test_film ("film_metadata_test");
        boost::filesystem::path dir = test_film_dir ("film_metadata_test");
 
-       f->_dci_date = boost::gregorian::from_undelimited_string ("20130211");
+       f->_isdcf_date = boost::gregorian::from_undelimited_string ("20130211");
        BOOST_CHECK (f->container() == 0);
        BOOST_CHECK (f->dcp_content_type() == 0);