From a0396d043dc38f3de0412cae217861cbf6bec978 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Wed, 6 Sep 2023 23:13:29 +1200 Subject: [PATCH] fix: test method --- tests/MultiFormTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/MultiFormTest.php b/tests/MultiFormTest.php index 8bc6a39..ff6bc3f 100644 --- a/tests/MultiFormTest.php +++ b/tests/MultiFormTest.php @@ -122,7 +122,7 @@ class MultiFormTest extends FunctionalTest Config::modify()->set(MultiForm::class, 'get_var', 'SuperSessionID'); $form = $this->controller->Form(); - $this->assertStringContainsString( + $this->assertContains( 'SuperSessionID', $form->config()->get('ignored_fields'), 'GET var wasn\'t added to ignored fields'