Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsavol committed Nov 20, 2024
1 parent 4e2c322 commit 22b7aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/widgets/test_AddProjectItemWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 22b7aff

Please sign in to comment.