public function ConfigEntityRevisionsRevertFormBaseTest::formIdStartsWithModuleName in Config Entity Revisions 1.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php \Drupal\Tests\config_entity_revisions\Unit\ConfigEntityRevisionsRevertFormBaseTest::formIdStartsWithModuleName()
- 8 tests/src/Unit/ConfigEntityRevisionsRevertFormBaseTest.php \Drupal\Tests\config_entity_revisions\Unit\ConfigEntityRevisionsRevertFormBaseTest::formIdStartsWithModuleName()
Check that getFormId includes the module name.
@test
File
- tests/
src/ Unit/ ConfigEntityRevisionsRevertFormBaseTest.php, line 218
Class
Namespace
Drupal\Tests\config_entity_revisions\UnitCode
public function formIdStartsWithModuleName() {
$this->instance = $this
->getMockInstance(300);
$this
->assertEquals($this->instance
->getFormId(), 'module_name_revision_revert_confirm');
}