Fix: snake method in tests

This commit is contained in:
philipp lang 2024-02-06 01:24:09 +01:00
parent a7394e12aa
commit b813664632
1 changed files with 1 additions and 1 deletions

View File

@ -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]]);
}
}