tests: Adapt tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-02-15 16:40:46 +01:00
parent c1e29ab8cb
commit 133e3f3140
7 changed files with 44 additions and 26 deletions

View File

@@ -83,10 +83,6 @@ class DefaultBoardServiceTest extends TestCase {
->method('getUserValue')
->willReturn('yes');
$this->boardMapper->expects($this->once())
->method('findAllByUser')
->willReturn($userBoards);
$this->config->expects($this->once())
->method('setUserValue');
@@ -107,10 +103,6 @@ class DefaultBoardServiceTest extends TestCase {
->method('getUserValue')
->willReturn('no');
$this->boardMapper->expects($this->once())
->method('findAllByUser')
->willReturn($userBoards);
$result = $this->service->checkFirstRun($this->userId);
$this->assertEquals($result, false);
}