Unverified Commit 2fb4f739 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Fix tests broken by default language change (#704, !943)

CI Skip maakt meer kapot dan je lief is
parent b5f79730
......@@ -177,8 +177,12 @@ class EventAdminTest(TestCase):
self.rf = RequestFactory()
def test_overview_link(self):
"""
Check the overview link goes to the correct event and
contains the name.
"""
self.assertEqual(self.admin.overview_link(self.event),
'<a href="/events/admin/1/">testevenement</a>')
'<a href="/events/admin/1/">testevent</a>')
@mock.patch('events.admin.DoNextModelAdmin.has_change_permission')
@mock.patch('events.services.is_organiser')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment