protected function HijriBlockDisplayTest::setUp in Hijri 1.0.x
Same name and namespace in other branches
- 3.0.x tests/src/Functional/HijriBlockDisplayTest.php \Drupal\Tests\hijri\Functional\HijriBlockDisplayTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
Functional/ HijriBlockDisplayTest.php, line 30
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'),
]);
}