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