Skip to content

Commit

Permalink
Updating after_create in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Souhei committed Sep 11, 2024
1 parent 00770fa commit 3682e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckanext/short_urls/tests/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ckan.cli.cli import ckan

dataset_or_resource_after_create_action = \
'ckanext.short_urls.plugin.ShortUrlsPlugin.after_create'
'ckanext.short_urls.plugin.ShortUrlsPlugin.after_dataset_create'

@pytest.mark.usefixtures(u"with_plugins")
class TestCommand(object):
Expand Down
2 changes: 1 addition & 1 deletion ckanext/short_urls/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
generate_unique_short_url_code_function = \
'ckanext.short_urls.logic._generate_unique_short_url_code'
dataset_or_resource_after_create_action = \
'ckanext.short_urls.plugin.ShortUrlsPlugin.after_create'
'ckanext.short_urls.plugin.ShortUrlsPlugin.after_dataset_create'


@pytest.mark.usefixtures('with_plugins')
Expand Down

0 comments on commit 3682e7b

Please sign in to comment.