Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
2fb4f739
Unverified
Commit
2fb4f739
authored
Sep 19, 2018
by
Thom Wiggers
📐
Browse files
Fix tests broken by default language change (
#704
,
!943
)
CI Skip maakt meer kapot dan je lief is
parent
b5f79730
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/tests/test_admin.py
View file @
2fb4f739
...
...
@@ -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/">testeven
emen
t</a>'
)
'<a href="/events/admin/1/">testevent</a>'
)
@
mock
.
patch
(
'events.admin.DoNextModelAdmin.has_change_permission'
)
@
mock
.
patch
(
'events.services.is_organiser'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment