Set DBSetupTest timezone to UTC (#12881)

Not sure this is correct, but this test fails 100% on my local system since my timezone is not UTC
This commit is contained in:
Tony Murray
2021-05-14 17:55:15 -05:00
committed by GitHub
parent 59d6857bb4
commit d924f3f886

View File

@@ -123,6 +123,8 @@ class DBSetupTest extends DBTestCase
public function testValidateSchema()
{
if (is_file('misc/db_schema.yaml')) {
DB::connection($this->connection)->statement('SET time_zone = "+00:00";');
$master_schema = \Symfony\Component\Yaml\Yaml::parse(
file_get_contents('misc/db_schema.yaml')
);