[fix] Fix test due to change in html structure

pull/7618/head
Shohan 2021-08-05 11:06:58 +05:30 zatwierdzone przez Matt Westcott
rodzic 1c985944b9
commit 366776ebeb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -46,7 +46,7 @@ class TestUserToggleActivityView(TestCase, WagtailTestUtils):
self.assertEqual(response.status_code, 200)
html = response.content.decode()
self.assertInHTML("<p>A superuser cannot change his/her role</p>", html)
self.assertInHTML("<p>A superuser cannot change their role</p>", html)
needle = '<ul>'
needle += '<li>{user_email}</li>'.format(user_email=self.current_user.email)