Import participants

Big refactor to create route
Import participants

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos
2021-07-14 23:49:31 -03:00
committed by Julius Härtl
parent fd92fc3c4d
commit c5d10dafb8
18 changed files with 868 additions and 521 deletions

View File

@@ -73,6 +73,8 @@ class BoardServiceTest extends TestCase {
private $changeHelper;
/** @var IEventDispatcher */
private $eventDispatcher;
/** @var TrelloImportService */
private $trelloImportService;
private $userId = 'admin';
public function setUp(): void {
@@ -91,6 +93,7 @@ class BoardServiceTest extends TestCase {
$this->activityManager = $this->createMock(ActivityManager::class);
$this->changeHelper = $this->createMock(ChangeHelper::class);
$this->eventDispatcher = $this->createMock(IEventDispatcher::class);
$this->trelloImportService = $this->createMock(TrelloImportService::class);
$this->service = new BoardService(
$this->boardMapper,
@@ -107,6 +110,7 @@ class BoardServiceTest extends TestCase {
$this->activityManager,
$this->eventDispatcher,
$this->changeHelper,
$this->trelloImportService,
$this->userId
);