TestSuiteBaseTest.php
Namespace
Drupal\Tests\Core\TestFile
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestSuiteBaseTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\Core\Test;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
/**
* Tests Suite Base.
*/
class TestSuiteBaseTest extends TestCase {
/**
* Tests the assumption that local time is in 'Australia/Sydney'.
*/
public function testLocalTimeZone() : void {
// The 'Australia/Sydney' time zone is set in core/tests/bootstrap.php.
$this->assertEquals('Australia/Sydney', date_default_timezone_get());
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| TestSuiteBaseTest | Tests Suite Base. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.