committed by
backportbot-nextcloud[bot]
parent
b74569abef
commit
2237745c09
@@ -117,14 +117,6 @@ class CardTest extends TestCase {
|
||||
], (new CardDetails($card))->jsonSerialize());
|
||||
}
|
||||
|
||||
public function testMysqlDateFallback() {
|
||||
$date = new DateTime();
|
||||
$card = new Card();
|
||||
$card->setDuedate($date->format('c'));
|
||||
$card->setDatabaseType('mysql');
|
||||
$this->assertEquals($date->format('Y-m-d H:i:s'), $card->getDuedate(false));
|
||||
}
|
||||
|
||||
public function testJsonSerializeAsignedUsers() {
|
||||
$card = $this->createCard();
|
||||
$card->setAssignedUsers([ 'user1' ]);
|
||||
|
||||
Reference in New Issue
Block a user