public function CommandsTest::testEmptyInsertCommand in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Ajax/CommandsTest.php \Drupal\KernelTests\Core\Ajax\CommandsTest::testEmptyInsertCommand()
- 10 core/tests/Drupal/KernelTests/Core/Ajax/CommandsTest.php \Drupal\KernelTests\Core\Ajax\CommandsTest::testEmptyInsertCommand()
Checks empty content in commands does not throw exceptions.
@doesNotPerformAssertions
File
- core/
tests/ Drupal/ KernelTests/ Core/ Ajax/ CommandsTest.php, line 65
Class
- CommandsTest
- Performs tests on AJAX framework commands.
Namespace
Drupal\KernelTests\Core\AjaxCode
public function testEmptyInsertCommand() {
(new InsertCommand('foobar', []))
->render();
}