| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ImportExportLogTest extends TestCase |
||
| 13 | { |
||
| 14 | use RefreshDatabase; |
||
| 15 | |||
| 16 | protected $import; |
||
| 17 | |||
| 18 | protected function setUp () |
||
| 27 | ]); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @test |
||
| 32 | */ |
||
| 33 | public function save_new_log() |
||
| 34 | { |
||
| 35 | $import = $this->import; |
||
| 36 | |||
| 37 | $result = ImportExportLog::logImportError( $import, ['data' => 'this is test data'], 'This is not expected' ); |
||
| 38 | |||
| 39 | $this->assertInstanceOf( ModelImportExportLog::class, $result ); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @test |
||
| 44 | */ |
||
| 45 | public function get_saved_logs() |
||
| 58 | } |
||
| 59 | } |
||
| 60 |
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