Skip to content

Commit e2f596f

Browse files
Merge branch '5' into 6
2 parents a241ead + cac855b commit e2f596f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Schema/IntegrationTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1429,8 +1429,8 @@ public function testDBFieldArgs()
14291429
$node = $result['data']['readOneDataObjectFake'] ?? null;
14301430
$this->assertEquals('This is a varchar field', $node['myField']);
14311431
$this->assertEquals('Saturday', $node['date1']);
1432-
$this->assertEquals('2/29/20, 5:00 PM', $node['date2']);
1433-
$this->assertEquals('5:00:00 PM', $node['date3']);
1432+
$this->assertMatchesRegularExpression('#2/29/20,\h5:00\hPM#u', $node['date2']);
1433+
$this->assertMatchesRegularExpression('#5:00:00\hPM#u', $node['date3']);
14341434
$this->assertEquals('2020', $node['date4']);
14351435
$this->assertEquals('This is a really long text field. It has a few sentences.', $node['myText']);
14361436
}

0 commit comments

Comments
 (0)