Add BoardControllerTest
This commit is contained in:
@@ -33,11 +33,12 @@ use Test\TestCase;
|
||||
class AppTest extends TestCase {
|
||||
|
||||
private $container;
|
||||
private $app;
|
||||
|
||||
public function setUp() {
|
||||
parent::setUp();
|
||||
$app = new App('deck');
|
||||
$this->container = $app->getContainer();
|
||||
$this->app = new \OCA\Deck\AppInfo\Application();
|
||||
$this->container = $this->app->getContainer();
|
||||
}
|
||||
|
||||
public function testAppInstalled() {
|
||||
@@ -45,4 +46,8 @@ class AppTest extends TestCase {
|
||||
$this->assertTrue($appManager->isInstalled('deck'));
|
||||
}
|
||||
|
||||
public function testNavigationEntry() {
|
||||
$this->app->registerNavigationEntry();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user