Fix unit tests for board archiving

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-05-17 19:51:06 +02:00
parent 8c04ea8dc9
commit 90eb9ce28e
6 changed files with 31 additions and 17 deletions

View File

@@ -107,9 +107,9 @@ class BoardControllerTest extends \PHPUnit_Framework_TestCase {
public function testUpdate() {
$this->boardService->expects($this->once())
->method('update')
->with(1, 2, 3)
->with(1, 2, 3, false)
->willReturn(1);
$this->assertEquals(1, $this->controller->update(1, 2, 3));
$this->assertEquals(1, $this->controller->update(1, 2, 3, false));
}
public function testDelete() {