public function CommandsTest::testEmptyInsertCommand in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Ajax/CommandsTest.php \Drupal\KernelTests\Core\Ajax\CommandsTest::testEmptyInsertCommand()
- 9 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 70
Class
- CommandsTest
- Performs tests on AJAX framework commands.
Namespace
Drupal\KernelTests\Core\AjaxCode
public function testEmptyInsertCommand() {
(new InsertCommand('foobar', []))
->render();
}