Browse Source

Fixed test

Rafał Pitoń 11 years ago
parent
commit
2fb877eab3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      misago/users/tests/test_profile_views.py

+ 2 - 1
misago/users/tests/test_profile_views.py

@@ -50,4 +50,5 @@ class UserProfileViewsTests(AdminTestCase):
         response = self.client.get(reverse('misago:user_name_history',
         response = self.client.get(reverse('misago:user_name_history',
                                            kwargs=self.link_kwargs))
                                            kwargs=self.link_kwargs))
         self.assertEqual(response.status_code, 200)
         self.assertEqual(response.status_code, 200)
-        self.assertIn("Admin changed name to <strong>Rename", response.content)
+        self.assertIn("TestAdmin</strong> changed name to <strong>Renamed",
+                      response.content)