Skip to content

Commit e74a9f7

Browse files
committed
add missing test for timestamp
1 parent ad103bb commit e74a9f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AbstractFunctionTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testRemoteFunctionCallWithParametersAndResults()
109109
'EV_MONTH' => '11',
110110
'EV_MONTH_LAST_DAY' => '20181130',
111111
'EV_MONTXT' => 'Montag',
112-
'EV_TIMESTAMP' => 'NOVALUE',
112+
'EV_TIMESTAMP' => '20181119000000',
113113
'EV_WEEK' => '201847',
114114
'EV_WEEK_LAST' => '201846',
115115
'EV_WEEK_NEXT' => '201848',
@@ -119,7 +119,7 @@ public function testRemoteFunctionCallWithParametersAndResults()
119119
foreach ($expected as $name => $value) {
120120
static::assertArrayHasKey($name, $result);
121121
if ($name === 'EV_TIMESTAMP') {
122-
continue;
122+
$result[$name] = substr($result[$name], 0, 8).'000000';
123123
}
124124
static::assertSame($value, $result[$name]);
125125
}

0 commit comments

Comments
 (0)