Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default board color is now blue #1222

Merged
merged 1 commit into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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