You are here

protected function RangeBrowserTestBase::createContentType in Range 8

2 calls to RangeBrowserTestBase::createContentType()
RangeFieldUiTest::setUp in tests/src/Functional/RangeFieldUiTest.php
RangeFieldValidationTest::setUp in tests/src/Functional/RangeFieldValidationTest.php

File

tests/src/Functional/RangeBrowserTestBase.php, line 171

Class

RangeBrowserTestBase
Base class for the range module's tests.

Namespace

Drupal\Tests\range\Functional

Code

protected function createContentType(array $values = []) {
  $values['type'] = $this->bundle;
  return parent::createContentType($values);
}