default board color is now blue

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-09-06 09:41:28 +02:00
parent 014f708752
commit d3efff0ce7
3 changed files with 5 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ class PageController extends Controller {
if ($this->defaultBoardService->checkFirstRun($this->userId, $this->appName)) {
if ($this->permissionService->canCreate()) {
$this->defaultBoardService->createDefaultBoard($this->l10n->t('Personal'), $this->userId, '000000');
$this->defaultBoardService->createDefaultBoard($this->l10n->t('Personal'), $this->userId, '0087C5');
}
}

View File

@@ -103,7 +103,7 @@ class DefaultBoardServiceTest extends TestCase {
$board = new Board();
$board->setTitle('Personal');
$board->setOwner($this->userId);
$board->setColor('000000');
$board->setColor('317CCC');
$userBoards = [$board];
@@ -121,7 +121,7 @@ class DefaultBoardServiceTest extends TestCase {
public function testCreateDefaultBoard() {
$title = 'Personal';
$color = '000000';
$color = '317CCC';
$boardId = 5;
$board = new Board();

View File

@@ -59,7 +59,7 @@ class PageControllerTest extends \Test\TestCase {
$board = new Board();
$board->setTitle('Personal');
$board->setOwner($this->userId);
$board->setColor('000000');
$board->setColor('317CCC');
$this->defaultBoardService->expects($this->once())
->method('checkFirstRun')
@@ -82,7 +82,7 @@ class PageControllerTest extends \Test\TestCase {
$board = new Board();
$board->setTitle('Personal');
$board->setOwner($this->userId);
$board->setColor('000000');
$board->setColor('317CCC');
$this->defaultBoardService->expects($this->once())
->method('checkFirstRun')