From 64bb6c4ad3be32b99f7fcb2b0454f0d0528fb8b0 Mon Sep 17 00:00:00 2001 From: michplunkett <5885605+michplunkett@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:39:23 -0500 Subject: [PATCH] Update test_cache.py --- OpenOversight/tests/test_cache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenOversight/tests/test_cache.py b/OpenOversight/tests/test_cache.py index 2a001af98..4d3ccb59b 100644 --- a/OpenOversight/tests/test_cache.py +++ b/OpenOversight/tests/test_cache.py @@ -155,10 +155,9 @@ def test_total_documented_officers(mockdata, client, faker): LinkForm(url=faker.url(), link_type="video", created_by=user.id).data, ] job = Job.query.filter_by(department_id=department.id).first() - first_name = faker.first_name() last_name = faker.last_name() form = AddOfficerForm( - first_name=first_name, + first_name=faker.first_name(), last_name=last_name, middle_initial=faker.random_uppercase_letter(), race="WHITE",