From 1d76fc9a40d1fa085b48af48ba11eb0fbb7e8d90 Mon Sep 17 00:00:00 2001 From: John Linhart Date: Tue, 6 Jun 2023 11:28:08 +0200 Subject: [PATCH] strtolower(): Passing null to parameter #1 ($string) of type string is deprecated --- app/bundles/FormBundle/Tests/Model/SubmissionModelTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/bundles/FormBundle/Tests/Model/SubmissionModelTest.php b/app/bundles/FormBundle/Tests/Model/SubmissionModelTest.php index e80a651f214..82eab3253d3 100644 --- a/app/bundles/FormBundle/Tests/Model/SubmissionModelTest.php +++ b/app/bundles/FormBundle/Tests/Model/SubmissionModelTest.php @@ -213,6 +213,8 @@ protected function setUp(): void $this->contactTracker = $this->createMock(ContactTracker::class); $this->contactMerger = $this->createMock(ContactMerger::class); + $this->fieldHelper->method('getFieldFilter')->willReturn('string'); + $this->submissionModel = new SubmissionModel( $this->ipLookupHelper, $this->twigMock,