We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 75-89 (lines=15) @@ | ||
72 | ); |
|
73 | } |
|
74 | ||
75 | public function testClassicJsonFormat() |
|
76 | { |
|
77 | $file = $this->cacheDir.'/schema.json'; |
|
78 | $this->assertCommandExecution( |
|
79 | [ |
|
80 | 'command' => $this->command->getName(), |
|
81 | '--file' => $file, |
|
82 | '--classic' => true, |
|
83 | '--format' => 'json', |
|
84 | ], |
|
85 | __DIR__.'/fixtures/schema.json', |
|
86 | $file, |
|
87 | 'json' |
|
88 | ); |
|
89 | } |
|
90 | ||
91 | public function testModernJsonFormat() |
|
92 | { |
|
@@ 91-105 (lines=15) @@ | ||
88 | ); |
|
89 | } |
|
90 | ||
91 | public function testModernJsonFormat() |
|
92 | { |
|
93 | $file = $this->cacheDir.'/schema.json'; |
|
94 | $this->assertCommandExecution( |
|
95 | [ |
|
96 | 'command' => $this->command->getName(), |
|
97 | '--file' => $file, |
|
98 | '--modern' => true, |
|
99 | '--format' => 'json', |
|
100 | ], |
|
101 | __DIR__.'/fixtures/schema.modern.json', |
|
102 | $file, |
|
103 | 'json' |
|
104 | ); |
|
105 | } |
|
106 | ||
107 | /** |
|
108 | * @expectedException \InvalidArgumentException |