mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 01:27:03 +02:00
Fix tests and re-number ADR
This commit is contained in:
parent
14cecf46ba
commit
86e57771d4
2 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# 10. Use custom User model with separate UserProfile
|
# 12. Use custom User model with separate UserProfile
|
||||||
|
|
||||||
Date: 2022-09-26
|
Date: 2022-09-26
|
||||||
|
|
|
@ -23,7 +23,6 @@ class LoggedInTests(TestCase):
|
||||||
self.user = get_user_model().objects.create(
|
self.user = get_user_model().objects.create(
|
||||||
username=username, first_name=first_name, last_name=last_name, email=email
|
username=username, first_name=first_name, last_name=last_name, email=email
|
||||||
)
|
)
|
||||||
self.profile = UserProfile.objects.create(user=self.user)
|
|
||||||
self.client.force_login(self.user)
|
self.client.force_login(self.user)
|
||||||
|
|
||||||
def test_edit_profile(self):
|
def test_edit_profile(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue