feat: Let occ deck:import default to deck json importer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -118,6 +118,9 @@ class BoardImportServiceTest extends \Test\TestCase {
|
||||
$this->trelloJsonService
|
||||
->method('getJsonSchemaPath')
|
||||
->willReturn($configFile);
|
||||
$this->trelloJsonService
|
||||
->method('getBoards')
|
||||
->willReturn([$data]);
|
||||
$this->boardImportService->setImportSystem($this->trelloJsonService);
|
||||
|
||||
$owner = $this->createMock(IUser::class);
|
||||
@@ -192,8 +195,7 @@ class BoardImportServiceTest extends \Test\TestCase {
|
||||
->expects($this->once())
|
||||
->method('insert');
|
||||
|
||||
$actual = $this->boardImportService->import();
|
||||
|
||||
$this->assertNull($actual);
|
||||
$this->boardImportService->import();
|
||||
self::assertTrue(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user