Wrote tests for CardApiControllerTest.php
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
This commit is contained in:
committed by
Julius Härtl
parent
5bc8a363b9
commit
9c81584b02
@@ -32,7 +32,6 @@ use OCP\IRequest;
|
||||
use OCA\Deck\StatusException;
|
||||
use OCA\Deck\Service\StackService;
|
||||
use OCA\Deck\Service\BoardService;
|
||||
use OCA\Deck\Controller\Helper\ApiHelper;
|
||||
|
||||
/**
|
||||
* Class StackApiController
|
||||
@@ -42,8 +41,7 @@ use OCA\Deck\Controller\Helper\ApiHelper;
|
||||
class StackApiController extends ApiController {
|
||||
|
||||
private $boardService;
|
||||
private $stackService;
|
||||
private $apiHelper;
|
||||
private $stackService;
|
||||
|
||||
/**
|
||||
* @param string $appName
|
||||
@@ -53,8 +51,7 @@ class StackApiController extends ApiController {
|
||||
public function __construct($appName, IRequest $request, StackService $stackService, BoardService $boardService) {
|
||||
parent::__construct($appName, $request);
|
||||
$this->stackService = $stackService;
|
||||
$this->boardService = $boardService;
|
||||
$this->apiHelper = new ApiHelper();
|
||||
$this->boardService = $boardService;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user