Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -20,7 +20,7 @@ class CustomerEditFormTest extends TypeTestCase
|
||||
{
|
||||
public function testWithNewProject()
|
||||
{
|
||||
$model = new Customer();
|
||||
$model = new Customer('foo');
|
||||
$form = $this->factory->createBuilder(CustomerEditForm::class, $model);
|
||||
|
||||
$attr = $form->getFormConfig()->getOption('attr');
|
||||
@@ -39,7 +39,7 @@ class CustomerEditFormTest extends TypeTestCase
|
||||
|
||||
public function testWithBudget()
|
||||
{
|
||||
$model = new Customer();
|
||||
$model = new Customer('foo');
|
||||
$form = $this->factory->createBuilder(CustomerEditForm::class, $model, [
|
||||
'include_budget' => true,
|
||||
]);
|
||||
@@ -50,7 +50,7 @@ class CustomerEditFormTest extends TypeTestCase
|
||||
|
||||
public function testWithTimeBudget()
|
||||
{
|
||||
$model = new Customer();
|
||||
$model = new Customer('foo');
|
||||
$form = $this->factory->createBuilder(CustomerEditForm::class, $model, [
|
||||
'include_time' => true,
|
||||
]);
|
||||
@@ -61,7 +61,7 @@ class CustomerEditFormTest extends TypeTestCase
|
||||
|
||||
public function testWithBudgetAndTimeBudget()
|
||||
{
|
||||
$model = new Customer();
|
||||
$model = new Customer('foo');
|
||||
$form = $this->factory->createBuilder(CustomerEditForm::class, $model, [
|
||||
'include_budget' => true,
|
||||
'include_time' => true,
|
||||
|
||||
Reference in New Issue
Block a user