Remove server timezone dependency from files list test

This commit is contained in:
Joas Schilling 2015-04-07 10:12:15 +02:00
parent 95e55aa4ad
commit e16d61e293

View file

@ -110,7 +110,7 @@ class ApiControllerTest extends TestCase {
[
'id' => null,
'parentId' => null,
'date' => 'January 1, 1970 at 12:00:55 AM GMT+0',
'date' => \OCP\Util::formatDate(55),
'mtime' => 55000,
'icon' => \OCA\Files\Helper::determineIcon($fileInfo),
'name' => 'root.txt',
@ -175,7 +175,7 @@ class ApiControllerTest extends TestCase {
[
'id' => null,
'parentId' => null,
'date' => 'January 1, 1970 at 12:00:55 AM GMT+0',
'date' => \OCP\Util::formatDate(55),
'mtime' => 55000,
'icon' => \OCA\Files\Helper::determineIcon($fileInfo1),
'name' => 'root.txt',
@ -194,7 +194,7 @@ class ApiControllerTest extends TestCase {
[
'id' => null,
'parentId' => null,
'date' => 'January 1, 1970 at 12:16:39 AM GMT+0',
'date' => \OCP\Util::formatDate(999),
'mtime' => 999000,
'icon' => \OCA\Files\Helper::determineIcon($fileInfo2),
'name' => 'root.txt',