Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function testSuccessfulOutput() |
||
10 | { |
||
11 | $output = new Phpcs(); |
||
12 | ob_start(); |
||
13 | $output->output($this->getAllValid(), 100, 100); |
||
14 | $report = ob_get_clean(); |
||
15 | |||
16 | $expected = '{"files":[],"totals":{"errors":0,"fixable":0,"warnings":0}}'; |
||
17 | $this->assertJsonStringEqualsJsonString($expected, $report); |
||
18 | } |
||
64 |