Skip to content
Snippets Groups Projects
Commit d0ee4307 authored by Daniel Levy's avatar Daniel Levy
Browse files

Do additional test fix

parent fca244e4
No related branches found
No related tags found
2 merge requests!166Staging,!152Finish internationalisation
Pipeline #9586 passed
......@@ -634,7 +634,7 @@ def test_submitting_form_creates_an_item_with_a_category(item_type_taxonomy,
@pytest.mark.django_db
def test_item_can_be_deleted_with_post_request(item):
taxonomy = TaxonomyFactory(name='Item Types', slug='item-types')
TermFactory(taxonomy=taxonomy, name='concern', long_name='concern')
TermFactory(taxonomy=taxonomy, name='concern', long_name='Concern')
transport.items.add_terms(item['id'], 'item-types', 'concern')
......@@ -723,7 +723,7 @@ def test_item_category_can_be_unset(view, update_form, item_type_taxonomy):
@pytest.mark.django_db
def test_item_feedback_type_can_be_updated(view, update_form):
taxonomy = TaxonomyFactory(name='Item Types', slug='item-types')
TermFactory(taxonomy=taxonomy, name='concern', long_name='concern')
TermFactory(taxonomy=taxonomy, name='concern', long_name='Concern')
TermFactory(taxonomy=taxonomy, name='rumour')
transport.items.add_terms(view.item['id'], 'item-types', 'rumour')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment