You are here

protected function HijriAdministrationTest::setUp in Hijri 1.0.x

Same name and namespace in other branches
  1. 3.0.x tests/src/Functional/HijriAdministrationTest.php \Drupal\Tests\hijri\Functional\HijriAdministrationTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/Functional/HijriAdministrationTest.php, line 27

Class

HijriAdministrationTest

Namespace

Drupal\Tests\hijri\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->hijri_formatter = \Drupal::service('hijri.formatter');
  $this->assert = $this
    ->assertSession();
  $this
    ->drupalCreateContentType([
    'type' => 'article',
    'name' => t('Article'),
  ]);
}