Skip to content

Commit

Permalink
fix(tests): fixed user webform test;
Browse files Browse the repository at this point in the history
- Fixed password strength in user webform tests.
- Added JS to resource new base template.
  • Loading branch information
JVickery-TBS committed Aug 1, 2023
1 parent ce1878d commit 5a93ca5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
<li{% block breadcrumb_edit_selected %} class="active"{% endblock %}><a href="">{{ _('Edit') }}</a></li>
{% endif %}
{% endblock %}

{% block scripts %}
<script type="text/javascript" src="{{ h.url_for_static('/registry_resource_edit.js') }}" ></script>
{{ super() }}
{% endblock %}
4 changes: 2 additions & 2 deletions ckanext/canada/tests/test_webforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def _filled_new_user_form(self):
'email': '[email protected]',
'department': self.org['id'],
'phoneno': '1234567890',
'password1': 'thisisapassword',
'password2': 'thisisapassword',
'password1': 'iptkH6kuctURRQadDBM0', # security extension required good passphrase/password
'password2': 'iptkH6kuctURRQadDBM0', # security extension required good passphrase/password
'save': ''
}

Expand Down

0 comments on commit 5a93ca5

Please sign in to comment.