Fix duedate tests

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2022-10-19 18:56:39 +00:00
committed by backportbot-nextcloud[bot]
parent b74569abef
commit 2237745c09
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ class CardServiceTest extends TestCase {
$this->assertEquals('text', $actual->getType());
$this->assertEquals(999, $actual->getOrder());
$this->assertEquals('foo', $actual->getDescription());
$this->assertEquals('2017-01-01T00:00:00+00:00', $actual->getDuedate());
$this->assertEquals(new \DateTime('2017-01-01T00:00:00+00:00'), $actual->getDuedate());
}
public function testUpdateArchived() {