diff --git a/tests/widgets/test_AddProjectItemWidget.py b/tests/widgets/test_AddProjectItemWidget.py index 782dc14f5..4894d7356 100644 --- a/tests/widgets/test_AddProjectItemWidget.py +++ b/tests/widgets/test_AddProjectItemWidget.py @@ -19,6 +19,7 @@ from spinetoolbox.project_item.project_item import ProjectItem from spinetoolbox.project_item.project_item_factory import ProjectItemFactory from spinetoolbox.widgets.add_project_item_widget import AddProjectItemWidget +from spinetoolbox.widgets.properties_widget import PropertiesWidgetBase from tests.mock_helpers import TestCaseWithQApplication, clean_up_toolbox, create_toolboxui_with_project @@ -125,7 +126,7 @@ def make_properties_widget(toolbox): Returns: QWidget: item's properties tab widget """ - return MagicMock() + return PropertiesWidgetBase(toolbox) @staticmethod def make_specification_menu(parent, index):