Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function testNoLocalesConfigException() |
||
22 | { |
||
23 | // Mock Config |
||
24 | Illuminate\Support\Facades\Config::swap($config = m::mock('ConfigMock')); |
||
25 | |||
26 | $config->shouldReceive('get')->with('js-localization.locales') |
||
27 | ->andReturn(null); |
||
28 | |||
29 | |||
30 | $this->setExpectedException('Exception'); |
||
31 | |||
32 | $this->runCommand(); |
||
33 | } |
||
34 | |||
46 |