You are here

protected function IndependentScheduledUpdateTypeTest::createType in Scheduled Updates 8

Parameters

$label:

$id:

array $clone_fields:

array $type_options:

Throws

\Exception

Overrides ScheduledUpdatesTestBase::createType

1 call to IndependentScheduledUpdateTypeTest::createType()
IndependentScheduledUpdateTypeTest::testCreateMultiTypes in tests/src/FunctionalJavascript/IndependentScheduledUpdateTypeTest.php

File

tests/src/FunctionalJavascript/IndependentScheduledUpdateTypeTest.php, line 60
Contains \Drupal\Tests\scheduled_updates\IndependentScheduledUpdateTypeTest.

Class

IndependentScheduledUpdateTypeTest
Test adding an Independent Scheduled Update Type.

Namespace

Drupal\Tests\scheduled_updates\FunctionalJavascript

Code

protected function createType($label, $id, array $clone_fields, $type_options = []) {
  parent::createType($label, $id, $clone_fields, $type_options);
  $this
    ->assertSession()
    ->pageTextContains('Entities to Update', 'Entities to Update field on Independent Update Type');
  $this
    ->checkEditType($id);
}