protected function HijriAdministrationTest::setUp in Hijri 1.0.x
Same name and namespace in other branches
- 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
Namespace
Drupal\Tests\hijri\FunctionalCode
protected function setUp() {
parent::setUp();
$this->hijri_formatter = \Drupal::service('hijri.formatter');
$this->assert = $this
->assertSession();
$this
->drupalCreateContentType([
'type' => 'article',
'name' => t('Article'),
]);
}