From b813664632ec4603c48fc7d7f43c6030330595a7 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 6 Feb 2024 01:24:09 +0100 Subject: [PATCH] Fix: snake method in tests --- tests/Feature/Form/FormtemplateFieldRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Form/FormtemplateFieldRequest.php b/tests/Feature/Form/FormtemplateFieldRequest.php index f6d2b7e2..b1262f6d 100644 --- a/tests/Feature/Form/FormtemplateFieldRequest.php +++ b/tests/Feature/Form/FormtemplateFieldRequest.php @@ -49,6 +49,6 @@ class FormtemplateFieldRequest extends RequestFactory */ public function __call(string $method, $args): self { - return $this->state([$method => $args[0]]); + return $this->state([(string) str($method)->snake() => $args[0]]); } }