You are here

protected function NodeAutosaveFormTest::getUserPermissions in Autosave Form 8

Returns the user permissions.

Return value

array

Overrides AutosaveFormTestBase::getUserPermissions

File

tests/src/FunctionalJavascript/ContentEntity/NodeAutosaveFormTest.php, line 56

Class

NodeAutosaveFormTest
Tests the autosave support for entity forms.

Namespace

Drupal\Tests\autosave_form\FunctionalJavascript\ContentEntity

Code

protected function getUserPermissions() {
  return [
    "create {$this->bundle} content",
    "edit own {$this->bundle} content",
  ];
}