protected function SimplenewsSchedulerTestBase::setUp in Simplenews Scheduler 2.0.x
Overrides DrupalWebTestCase::setUp().
Overrides BrowserTestBase::setUp
2 calls to SimplenewsSchedulerTestBase::setUp()
- SimplenewsSchedulerEditionDueTest::setUp in tests/
src/ Functional/ SimplenewsSchedulerEditionDueTest.php - Overrides DrupalWebTestCase::setUp().
- SimplenewsSchedulerNodeCreationTest::setUp in tests/
src/ Functional/ SimplenewsSchedulerNodeCreationTest.php - Overrides DrupalWebTestCase::setUp().
2 methods override SimplenewsSchedulerTestBase::setUp()
- SimplenewsSchedulerEditionDueTest::setUp in tests/
src/ Functional/ SimplenewsSchedulerEditionDueTest.php - Overrides DrupalWebTestCase::setUp().
- SimplenewsSchedulerNodeCreationTest::setUp in tests/
src/ Functional/ SimplenewsSchedulerNodeCreationTest.php - Overrides DrupalWebTestCase::setUp().
File
- tests/
src/ Functional/ SimplenewsSchedulerTestBase.php, line 29
Class
- SimplenewsSchedulerTestBase
- Class SimplenewsSchedulerWebTestBase
Namespace
Drupal\Tests\simplenews_scheduler\FunctionalCode
protected function setUp() {
parent::setUp();
// Set the site timezone to something visibly different from UTC, which
// has daylight saving changes.
$date_config = $this
->config('system.date');
$date_config
->set('timezone.default', 'Europe/Kiev');
$date_config
->save();
}