| 1 | <?php |
||
| 2 | class AppTest extends PHPUnit_Framework_TestCase { |
||
|
|
|||
| 3 | |||
| 4 | public function testIsDebug() |
||
| 5 | { |
||
| 6 | $app = new \Suricate\App(); |
||
| 7 | $app->mode = \Suricate\App::DEBUG_MODE; |
||
| 8 | |||
| 9 | $this->assertTrue($app->isDebug()); |
||
| 10 | } |
||
| 11 | |||
| 12 | public function testIsDevelopment() |
||
| 13 | { |
||
| 14 | $app = new \Suricate\App(); |
||
| 15 | $app->mode = \Suricate\App::DEVELOPMENT_MODE; |
||
| 16 | |||
| 17 | $this->assertTrue($app->isDevelopment()); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testIsPrelive() |
||
| 21 | { |
||
| 22 | $app = new \Suricate\App(); |
||
| 23 | $app->mode = \Suricate\App::PRELIVE_MODE; |
||
| 24 | |||
| 25 | $this->assertTrue($app->isPrelive()); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testIsProduction() |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
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