function CommandsTest::testEmptyInsertCommand
Same name in other branches
- 8.9.x 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()
- 11.x 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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.