Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
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 | |||
24 | $this->setExpectedException('Exception'); |
||
25 | |||
26 | $this->runCommand(); |
||
27 | } |
||
28 | |||
40 |