Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function testNoLocalesConfigException() |
||
16 | { |
||
17 | // Mock Config |
||
18 | Illuminate\Support\Facades\Config::swap($config = m::mock('ConfigMock')); |
||
19 | |||
20 | $config->shouldReceive('get')->with('js-localization.locales') |
||
21 | ->andReturn(null); |
||
22 | |||
23 | $this->expectException(Exception::class); |
||
24 | |||
25 | $this->runCommand(); |
||
26 | } |
||
27 | |||
41 |