Fix unit tests for WEEKDAY()

In Excel the expected value was incorrect (but it would be different
for LibreOffice)
This commit is contained in:
Adrien Crivelli 2016-10-02 09:28:00 +09:00
parent 9629151e45
commit 60533a4f59
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 1 additions and 4 deletions

View File

@ -156,12 +156,9 @@ class DateTimeTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider providerWEEKDAY * @dataProvider providerWEEKDAY
* @group fail19
*/ */
public function testWEEKDAY() public function testWEEKDAY()
{ {
$this->markTestIncomplete('TODO: This test should be fixed');
$args = func_get_args(); $args = func_get_args();
$expectedResult = array_pop($args); $expectedResult = array_pop($args);
$result = call_user_func_array([DateTime::class, 'DAYOFWEEK'], $args); $result = call_user_func_array([DateTime::class, 'DAYOFWEEK'], $args);

View File

@ -92,7 +92,7 @@ return [
], ],
[ [
'1900-2-1', '1900-2-1',
1, 4,
], ],
[ [
38093, 38093,