Skip to content

Commit

Permalink
Update FormTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmerlin authored Oct 23, 2023
1 parent f80389d commit f284f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Unit/Admin/Form/FormTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ protected function formWillInstantiate(string $class): void
{
$this->assertInstanceOf($class, new $class());
$this->assertInstanceOf($class, new $class(null, []));
$this->assertInstanceOf($class, new $class('accountForm'));
$this->assertInstanceOf($class, new $class('accountForm', []));
$this->assertInstanceOf($class, new $class('form'));
$this->assertInstanceOf($class, new $class('form', []));
}

protected function formHasElements(FormInterface $form, array $elements = []): void
Expand Down

0 comments on commit f284f21

Please sign in to comment.