mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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')
|
||||
);
|
||||
|
Reference in New Issue
Block a user