Fix: snake method in tests
This commit is contained in:
parent
a7394e12aa
commit
b813664632
|
@ -49,6 +49,6 @@ class FormtemplateFieldRequest extends RequestFactory
|
||||||
*/
|
*/
|
||||||
public function __call(string $method, $args): self
|
public function __call(string $method, $args): self
|
||||||
{
|
{
|
||||||
return $this->state([$method => $args[0]]);
|
return $this->state([(string) str($method)->snake() => $args[0]]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue