| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ViewableCartExtensionTest extends FunctionalTest |
||
| 14 | { |
||
| 15 | public static $fixture_file = __DIR__ . '/../Fixtures/shop.yml'; |
||
| 16 | public static $disable_theme = true; |
||
| 17 | |||
| 18 | public function setUp(): void |
||
| 19 | { |
||
| 20 | parent::setUp(); |
||
| 21 | ShoppingCart::singleton()->clear(); |
||
| 22 | ShopTest::setConfiguration(); |
||
| 23 | $this->logInWithPermission('ADMIN'); |
||
| 24 | $this->objFromFixture(Product::class, "socks")->publishSingle(); |
||
| 25 | } |
||
| 26 | |||
| 27 | function testCart() |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths