public function ConfigFormTest::testFinishBatch in Flysystem 3.x
Same name and namespace in other branches
- 8 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 229
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',
[
'',
],
],
],
], []);
// TODO: refactor.
$this
->assertTrue(TRUE);
}