1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00
This commit is contained in:
Robin Appelman 2020-11-28 17:12:04 +01:00
commit 7320711a36
23 changed files with 36 additions and 81 deletions

View file

@ -23,11 +23,11 @@ class ParserTest extends TestCase {
$this->rawParser->expects($this->any())
->method('parse')
->will($this->returnCallback(function ($path) {
->willReturnCallback(function ($path) {
$jsonPath = str_replace('.dem', '-raw.json', $path);
return json_decode(file_get_contents($jsonPath), true);
}));
});
}
public function testAnalyse() {