Skip to content

Commit 9a180f1

Browse files
committed
Update UserProfileTests.test_username_is_page_title to reflect template changes
1 parent a55a0f5 commit 9a180f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accounts/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def setUpTestData(cls):
2424

2525
def test_username_is_page_title(self):
2626
response = self.client.get(self.user1_url)
27-
self.assertContains(response, "<h1>user1</h1>", html=True)
27+
self.assertContains(response, '<h1 class="name">user1</h1>', html=True)
2828

2929
def test_stat_commits(self):
3030
Revision.objects.create(

0 commit comments

Comments
 (0)