Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php namespace Modules\Blog\Tests; |
||
19 | public function setUp() |
||
20 | { |
||
21 | parent::setUp(); |
||
22 | |||
23 | /** @var \Illuminate\Console\Application $artisan */ |
||
24 | $artisan = $this->app->make('Illuminate\Console\Application'); |
||
25 | $artisan->call('module:migrate', ['module' => 'Blog']); |
||
26 | |||
27 | $this->post = app('Modules\Blog\Repositories\PostRepository'); |
||
28 | $this->tag = app('Modules\Blog\Repositories\TagRepository'); |
||
29 | } |
||
30 | |||
83 |