Fix unit tests for duedate
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
b350213a01
commit
2063e1d9f4
@@ -74,9 +74,9 @@ class CardControllerTest extends \PHPUnit_Framework_TestCase {
|
||||
public function testUpdate() {
|
||||
$this->cardService->expects($this->once())
|
||||
->method('update')
|
||||
->with(1, 'title', 3, 'text', 5, 'foo', $this->userId)
|
||||
->with(1, 'title', 3, 'text', 5, 'foo', $this->userId, '2017-01-01 00:00:00')
|
||||
->willReturn(1);
|
||||
$this->assertEquals(1, $this->controller->update(1, 'title', 3, 'text', 5, 'foo'));
|
||||
$this->assertEquals(1, $this->controller->update(1, 'title', 3, 'text', 5, 'foo', '2017-01-01 00:00:00'));
|
||||
}
|
||||
|
||||
public function testDelete() {
|
||||
|
||||
Reference in New Issue
Block a user