Added BadRequestException checks in DefaultBoardService. Fixed bug in DefaultBoardService BadRequestException checks.

Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
This commit is contained in:
Ryan Fletcher
2018-08-07 08:50:00 -04:00
committed by Julius Härtl
parent 6f5c0a2816
commit aba7d02cfe
3 changed files with 20 additions and 4 deletions

View File

@@ -66,7 +66,8 @@ class DefaultBoardServiceTest extends TestCase {
$this->stackService = $this->createMock(StackService::class);
$this->cardService = $this->createMock(CardService::class);
$this->config = $this->createMock(IConfig::class);
$this->l10n = $this->createMock(IL10N::class);
$this->l10n = $this->createMock(IL10N::class);
$this->userId = 'admin';
$this->service = new DefaultBoardService(
$this->l10n,