@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Testing\TestCase as BaseTestCase; |
6 | 6 | |
7 | -abstract class TestCase extends BaseTestCase |
|
8 | -{ |
|
7 | +abstract class TestCase extends BaseTestCase { |
|
9 | 8 | use CreatesApplication; |
10 | 9 | } |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Faker\Factory; |
6 | 6 | use Illuminate\Contracts\Console\Kernel; |
7 | 7 | |
8 | -trait CreatesApplication |
|
9 | -{ |
|
8 | +trait CreatesApplication { |
|
10 | 9 | protected $faker; |
11 | 10 | |
12 | 11 | /** |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Tests\TestCase; |
6 | 6 | |
7 | -class ExampleTest extends TestCase |
|
8 | -{ |
|
7 | +class ExampleTest extends TestCase { |
|
9 | 8 | /** |
10 | 9 | * A basic test example. |
11 | 10 | * |
@@ -8,8 +8,7 @@ |
||
8 | 8 | use Doctrine\ORM\Mapping\ClassMetadata; |
9 | 9 | use Tests\TestCase; |
10 | 10 | |
11 | -class RotaRepositoryTest extends TestCase |
|
12 | -{ |
|
11 | +class RotaRepositoryTest extends TestCase { |
|
13 | 12 | public function getClassName() |
14 | 13 | { |
15 | 14 | return 'Rota'; |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Tests\TestCase; |
6 | 6 | |
7 | -class ExampleTest extends TestCase |
|
8 | -{ |
|
7 | +class ExampleTest extends TestCase { |
|
9 | 8 | /** |
10 | 9 | * A basic test example. |
11 | 10 | * |