Move default board creation to Application and cleanup code

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-01-26 12:14:51 +01:00
parent ef986842a5
commit bdc149aa6b
7 changed files with 134 additions and 163 deletions

View File

@@ -94,7 +94,7 @@ class DefaultBoardServiceTest extends TestCase {
$this->config->expects($this->once())
->method('setUserValue');
$result = $this->service->checkFirstRun($this->userId, $appName);
$result = $this->service->checkFirstRun($this->userId);
$this->assertEquals($result, true);
}
@@ -115,7 +115,7 @@ class DefaultBoardServiceTest extends TestCase {
->method('findAllByUser')
->willReturn($userBoards);
$result = $this->service->checkFirstRun($this->userId, $appName);
$result = $this->service->checkFirstRun($this->userId);
$this->assertEquals($result, false);
}