Issues (3)

tests/unit/console/BoxControllerTest.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Box plugin for HiDev
4
 *
5
 * @link      https://github.com/hiqdev/hidev-box
6
 * @package   hidev-box
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\box\tests\unit\console;
12
13
use hidev\box\console\BoxController;
14
15
/**
16
 * Tests for BoxController.
17
 */
18
class BoxControllerTest extends \PHPUnit\Framework\TestCase
0 ignored issues
show
The type PHPUnit\Framework\TestCase was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
{
20
    /**
21
     * @var BoxController
22
     */
23
    protected $object;
24
25
    protected function setUp()
26
    {
27
        $this->object = new BoxController('box', null);
28
    }
29
30
    protected function tearDown()
31
    {
32
    }
33
34
    public function testConstructor()
35
    {
36
        $this->assertInstanceOf(\hidev\base\Controller::class, $this->object);
37
    }
38
}
39