Skip to content

Commit

Permalink
Test custom group_type for activities
Browse files Browse the repository at this point in the history
  • Loading branch information
avdata99 committed Nov 29, 2023
1 parent b1493b9 commit b3a7915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/activity/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def assert_group_link_in_response(group, response):
)


@pytest.mark.ckan_config("ckan.plugins", "activity")
@pytest.mark.ckan_config("ckan.plugins", "activity example_igroupform")
@pytest.mark.usefixtures("with_plugins", "clean_db")
class TestOrganization(object):
def test_simple(self, app):
Expand All @@ -51,7 +51,7 @@ def test_simple(self, app):
def test_simple_for_custom_org_type(self, app):
"""Checking the template shows the activity stream."""
user = factories.User()
org = factories.Organization(user=user, type="custom_org_type")
org = factories.Organization(user=user, type="grup")

url = url_for("activity.organization_activity", id=org["id"])
response = app.get(url)
Expand Down

0 comments on commit b3a7915

Please sign in to comment.