summaryrefslogtreecommitdiff
path: root/test/butler_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
commit254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch)
tree8a5c83c1b2dea690672663dedb2f3aa50f4473dc /test/butler_test.cc
parentc31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff)
Take Film pointer out of Content.
Diffstat (limited to 'test/butler_test.cc')
-rw-r--r--test/butler_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/butler_test.cc b/test/butler_test.cc
index 0ee06c1ac..a453bd858 100644
--- a/test/butler_test.cc
+++ b/test/butler_test.cc
@@ -37,9 +37,9 @@ BOOST_AUTO_TEST_CASE (butler_test1)
film->set_name ("butler_test1");
film->set_container (Ratio::from_id ("185"));
- shared_ptr<Content> video = content_factory(film, "test/data/flat_red.png").front ();
+ shared_ptr<Content> video = content_factory("test/data/flat_red.png").front ();
film->examine_and_add_content (video);
- shared_ptr<Content> audio = content_factory(film, "test/data/staircase.wav").front ();
+ shared_ptr<Content> audio = content_factory("test/data/staircase.wav").front ();
film->examine_and_add_content (audio);
BOOST_REQUIRE (!wait_for_jobs ());