From b40aefc50510789b11e361429331f2bbb625b149 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sun, 28 Jul 2024 01:52:49 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F(backend)=20fix=20minor=20typ?= =?UTF-8?q?o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found and fixed a minor typo. Nit-picking! --- src/backend/core/tests/test_api_contacts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/core/tests/test_api_contacts.py b/src/backend/core/tests/test_api_contacts.py index 2b8483d..5b73ec7 100644 --- a/src/backend/core/tests/test_api_contacts.py +++ b/src/backend/core/tests/test_api_contacts.py @@ -76,7 +76,7 @@ def test_api_contacts_list_authenticated_no_query(): # Let's have 5 contacts in database: assert user.profile_contact is not None # Excluded because profile contact - base_contact = factories.BaseContactFactory() # Excluded because overriden + base_contact = factories.BaseContactFactory() # Excluded because overridden factories.ContactFactory( base=base_contact ) # Excluded because belongs to other user @@ -395,7 +395,7 @@ def test_api_contacts_create_authenticated_successful(): @override_settings(ALLOW_API_USER_CREATE=True) def test_api_contacts_create_authenticated_existing_override(): """ - Trying to create a contact for base contact that is already overriden by the user + Trying to create a contact for base contact that is already overridden by the user should receive a 400 error. """ user = factories.UserFactory(profile_contact=None)