You are here

public function InlineTest::testParseTimestampAsUnixTimestampByDefault in Lockr 7.3

@dataProvider getTimestampTests

File

vendor/symfony/yaml/Tests/InlineTest.php, line 601

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseTimestampAsUnixTimestampByDefault($yaml, $year, $month, $day, $hour, $minute, $second) {
  $this
    ->assertSame(gmmktime($hour, $minute, $second, $month, $day, $year), Inline::parse($yaml));
}