diff --git a/tests/interfaces/openlp_core/widgets/test_views.py b/tests/interfaces/openlp_core/widgets/test_views.py index a352f5093..4c987e98f 100644 --- a/tests/interfaces/openlp_core/widgets/test_views.py +++ b/tests/interfaces/openlp_core/widgets/test_views.py @@ -44,6 +44,9 @@ class TestListPreviewWidget(TestCase, TestMixin): Registry.create() self.setup_application() State().load_settings() + State().add_service("media", 0) + State().update_pre_conditions("media", True) + State().flush_preconditions() self.main_window = QtWidgets.QMainWindow() self.image = QtGui.QImage(1, 1, QtGui.QImage.Format_RGB32) self.image_manager = MagicMock()