public function ConfigFormTest::testFinishBatch in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testFinishBatch()
- 2.0.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testFinishBatch()
- 3.0.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testFinishBatch()
@covers ::finishBatch
File
- tests/
src/ Unit/ Form/ ConfigFormTest.php, line 225
Class
- ConfigFormTest
- @coversDefaultClass \Drupal\flysystem\Form\ConfigForm @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FormCode
public function testFinishBatch() {
ConfigForm::finishBatch(TRUE, [], []);
ConfigForm::finishBatch(FALSE, [], [
'from',
'to',
'file.txt',
]);
ConfigForm::finishBatch(TRUE, [
'errors' => [
'first error',
[
'second error',
[
'',
],
],
],
], []);
}