| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function get_saved_logs() |
||
| 46 | { |
||
| 47 | $import = $this->import; |
||
| 48 | |||
| 49 | $log = ImportExportLog::logImportError( $import, ['data' => 'this is test data'], 'This is not expected' ); |
||
| 50 | |||
| 51 | $log_in_db = ImportExportLog::getLogs( $log->id ); |
||
| 52 | |||
| 53 | $this->assertInternalType( 'array', $log_in_db ); |
||
| 54 | |||
| 55 | $this->assertArrayHasKey( 'data', $log_in_db[0] ); |
||
| 56 | |||
| 57 | $this->assertArrayHasKey( 'message', $log_in_db[0] ); |
||
| 58 | } |
||
| 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