fix coding guideline violations
This commit is contained in:
parent
6d209ee203
commit
9ba4189617
|
@ -35,7 +35,9 @@ class DbBackendFormTest extends BaseTestCase
|
|||
$form = Mockery::mock('Icinga\Forms\Config\UserBackend\DbBackendForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
->andReturnUsing(function ($s) {
|
||||
return $s;
|
||||
});
|
||||
$form->setTokenDisabled();
|
||||
$form->setResources(array('test_db_backend'));
|
||||
$form->populate(array('resource' => 'test_db_backend'));
|
||||
|
@ -61,7 +63,9 @@ class DbBackendFormTest extends BaseTestCase
|
|||
$form = Mockery::mock('Icinga\Forms\Config\UserBackend\DbBackendForm[getView]', array(null));
|
||||
$form->shouldReceive('getView->escape')
|
||||
->with(Mockery::type('string'))
|
||||
->andReturnUsing(function ($s) { return $s; });
|
||||
->andReturnUsing(function ($s) {
|
||||
return $s;
|
||||
});
|
||||
$form->setTokenDisabled();
|
||||
$form->setResources(array('test_db_backend'));
|
||||
$form->populate(array('resource' => 'test_db_backend'));
|
||||
|
|
Loading…
Reference in New Issue