TestSuiteBaseTest.php

Same filename in other branches
  1. 9 core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php
  2. 8.9.x core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php
  3. 10 core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php

Namespace

Drupal\Tests\Core\Test

File

core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\Core\Test;

use PHPUnit\Framework\TestCase;

/**
 * @group Test
 */
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 @group Test

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.