default board color is now blue
Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
@@ -69,7 +69,7 @@ class PageController extends Controller {
|
|||||||
|
|
||||||
if ($this->defaultBoardService->checkFirstRun($this->userId, $this->appName)) {
|
if ($this->defaultBoardService->checkFirstRun($this->userId, $this->appName)) {
|
||||||
if ($this->permissionService->canCreate()) {
|
if ($this->permissionService->canCreate()) {
|
||||||
$this->defaultBoardService->createDefaultBoard($this->l10n->t('Personal'), $this->userId, '000000');
|
$this->defaultBoardService->createDefaultBoard($this->l10n->t('Personal'), $this->userId, '0087C5');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ class DefaultBoardServiceTest extends TestCase {
|
|||||||
$board = new Board();
|
$board = new Board();
|
||||||
$board->setTitle('Personal');
|
$board->setTitle('Personal');
|
||||||
$board->setOwner($this->userId);
|
$board->setOwner($this->userId);
|
||||||
$board->setColor('000000');
|
$board->setColor('317CCC');
|
||||||
|
|
||||||
$userBoards = [$board];
|
$userBoards = [$board];
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ class DefaultBoardServiceTest extends TestCase {
|
|||||||
|
|
||||||
public function testCreateDefaultBoard() {
|
public function testCreateDefaultBoard() {
|
||||||
$title = 'Personal';
|
$title = 'Personal';
|
||||||
$color = '000000';
|
$color = '317CCC';
|
||||||
$boardId = 5;
|
$boardId = 5;
|
||||||
|
|
||||||
$board = new Board();
|
$board = new Board();
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class PageControllerTest extends \Test\TestCase {
|
|||||||
$board = new Board();
|
$board = new Board();
|
||||||
$board->setTitle('Personal');
|
$board->setTitle('Personal');
|
||||||
$board->setOwner($this->userId);
|
$board->setOwner($this->userId);
|
||||||
$board->setColor('000000');
|
$board->setColor('317CCC');
|
||||||
|
|
||||||
$this->defaultBoardService->expects($this->once())
|
$this->defaultBoardService->expects($this->once())
|
||||||
->method('checkFirstRun')
|
->method('checkFirstRun')
|
||||||
@@ -82,7 +82,7 @@ class PageControllerTest extends \Test\TestCase {
|
|||||||
$board = new Board();
|
$board = new Board();
|
||||||
$board->setTitle('Personal');
|
$board->setTitle('Personal');
|
||||||
$board->setOwner($this->userId);
|
$board->setOwner($this->userId);
|
||||||
$board->setColor('000000');
|
$board->setColor('317CCC');
|
||||||
|
|
||||||
$this->defaultBoardService->expects($this->once())
|
$this->defaultBoardService->expects($this->once())
|
||||||
->method('checkFirstRun')
|
->method('checkFirstRun')
|
||||||
|
|||||||
Reference in New Issue
Block a user