You are here

protected function EmbeddedScheduledUpdateTypeTestBase::setUp in Scheduled Updates 8

Sets the test up.

Overrides ScheduledUpdatesTestBase::setUp

2 calls to EmbeddedScheduledUpdateTypeTestBase::setUp()
AddFieldScheduledUpdateTypeTest::setUp in tests/src/FunctionalJavascript/AddFieldScheduledUpdateTypeTest.php
Sets the test up.
EmbeddedScheduledUpdateTypeTest::setUp in tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTest.php
Sets the test up.
2 methods override EmbeddedScheduledUpdateTypeTestBase::setUp()
AddFieldScheduledUpdateTypeTest::setUp in tests/src/FunctionalJavascript/AddFieldScheduledUpdateTypeTest.php
Sets the test up.
EmbeddedScheduledUpdateTypeTest::setUp in tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTest.php
Sets the test up.

File

tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTestBase.php, line 47
Contains \Drupal\Tests\scheduled_updates\EmbeddedScheduledUpdateTypeTestBase.

Class

EmbeddedScheduledUpdateTypeTestBase
Base test class for embedded update types.

Namespace

Drupal\Tests\scheduled_updates\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  \Drupal::state()
    ->set('constraint_uid', UserIdConstraintValidator::CONSTRAINT_NONE);
}