diff --git a/src/registrar/tests/common.py b/src/registrar/tests/common.py index 93e13c87e..db2bc6f84 100644 --- a/src/registrar/tests/common.py +++ b/src/registrar/tests/common.py @@ -5,7 +5,6 @@ import logging from contextlib import contextmanager import random from string import ascii_uppercase -import uuid from django.test import TestCase from unittest.mock import MagicMock, Mock, patch from typing import List, Dict @@ -229,14 +228,14 @@ class AuditedAdminMockData: user = User.objects.get_or_create( first_name="{} first_name:{}".format(item_name, short_hand), last_name="{} last_name:{}".format(item_name, short_hand), - username="{} username:{}".format(item_name + str(uuid.uuid4())[:8], short_hand), + username="{} username:{}".format(item_name, short_hand), )[0] return user def dummy_contact(self, item_name, short_hand): """Creates a dummy contact object""" contact = Contact.objects.get_or_create( - first_name="{} first_name:{}".format(item_name, short_hand), + first_name="{} first_name:{}".format(item_name + "fake_contact", short_hand), last_name="{} last_name:{}".format(item_name, short_hand), title="{} title:{}".format(item_name, short_hand), email="{}testy@town.com".format(item_name), diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index b42f7199e..89b1302b2 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -1318,8 +1318,8 @@ class AuditedAdminTest(TestCase): tested_fields = [ DomainApplication.authorizing_official.field, DomainApplication.submitter.field, - # DomainApplication.investigator.field, - # DomainApplication.creator.field, + DomainApplication.investigator.field, + DomainApplication.creator.field, DomainApplication.requested_domain.field, ] @@ -1374,7 +1374,7 @@ class AuditedAdminTest(TestCase): tested_fields = [ DomainInformation.authorizing_official.field, DomainInformation.submitter.field, - # DomainInformation.creator.field, + DomainInformation.creator.field, (DomainInformation.domain.field, ["name"]), (DomainInformation.domain_application.field, ["requested_domain__name"]), ]