Skip to content

Commit

Permalink
default board color is now blue
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob <jakob.roehrl@web.de>
  • Loading branch information
jakobroehrl committed Sep 10, 2019
1 parent 014f708 commit d3efff0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function index() {

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');
}
}

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/Service/DefaultBoardServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function testCheckFirstRunCaseFalse() {
$board = new Board();
$board->setTitle('Personal');
$board->setOwner($this->userId);
$board->setColor('000000');
$board->setColor('317CCC');

$userBoards = [$board];

Expand All @@ -121,7 +121,7 @@ public function testCheckFirstRunCaseFalse() {

public function testCreateDefaultBoard() {
$title = 'Personal';
$color = '000000';
$color = '317CCC';
$boardId = 5;

$board = new Board();
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/controller/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testIndexOnFirstRun() {
$board = new Board();
$board->setTitle('Personal');
$board->setOwner($this->userId);
$board->setColor('000000');
$board->setColor('317CCC');

$this->defaultBoardService->expects($this->once())
->method('checkFirstRun')
Expand All @@ -82,7 +82,7 @@ public function testIndexOnFirstRunNoCreate() {
$board = new Board();
$board->setTitle('Personal');
$board->setOwner($this->userId);
$board->setColor('000000');
$board->setColor('317CCC');

$this->defaultBoardService->expects($this->once())
->method('checkFirstRun')
Expand Down

0 comments on commit d3efff0

Please sign in to comment.