You are here

protected function ContentEntityAutosaveFormTestBase::doTestAutosaveFormNewEntity in Autosave Form 8

Tests that the autosave form library is not loaded on new entity forms.

1 call to ContentEntityAutosaveFormTestBase::doTestAutosaveFormNewEntity()
ContentEntityAutosaveFormTestBase::testAutosaveForms in tests/src/FunctionalJavascript/ContentEntity/ContentEntityAutosaveFormTestBase.php
Tests autosave.

File

tests/src/FunctionalJavascript/ContentEntity/ContentEntityAutosaveFormTestBase.php, line 109

Class

ContentEntityAutosaveFormTestBase
Base test class for testing autosave support for entity forms.

Namespace

Drupal\Tests\autosave_form\FunctionalJavascript\ContentEntity

Code

protected function doTestAutosaveFormNewEntity() {
  $this
    ->drupalGet($this
    ->getCreateNewEntityURL());
  $this
    ->assertAutosaveFormLibraryLoaded(FALSE);
}