Issues (153)

Tests/Unit/Flexform/CatalogTest.php (1 issue)

Labels
Severity
1
<?php
2
3
4
namespace Aimeos\Aimeos\Tests\Unit\Flexform;
5
6
7
class CatalogTest
8
    extends \TYPO3\CMS\Core\Tests\UnitTestCase
0 ignored issues
show
The type TYPO3\CMS\Core\Tests\UnitTestCase 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...
9
{
10
    private $object;
11
12
13
    public function setUp()
14
    {
15
        $this->object = new \Aimeos\Aimeos\Flexform\Catalog();
16
    }
17
18
19
    public function tearDown()
20
    {
21
        unset($this->object);
22
    }
23
24
25
    /**
26
     * @test
27
     */
28
    public function getCategories()
29
    {
30
        $result = $this->object->getCategories(array('items' => []));
31
32
        $this->assertArrayHasKey('items', $result);
33
    }
34
}