@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return [ |
4 | - //Stuff |
|
5 | - 'stuff' => 1, |
|
4 | + //Stuff |
|
5 | + 'stuff' => 1, |
|
6 | 6 | ]; |
7 | 7 | \ No newline at end of file |
@@ -5,25 +5,25 @@ |
||
5 | 5 | class EloquentConnectionTest extends PHPUnit_Framework_TestCase |
6 | 6 | { |
7 | 7 | |
8 | - /** |
|
9 | - * |
|
10 | - */ |
|
11 | - public function testIlluminateConnection() |
|
12 | - { |
|
13 | - Illuminate\Database\Capsule\Manager::schema()->create('test', function (Blueprint $table) { |
|
14 | - $table->increments('id'); |
|
15 | - $table->string('email')->unique(); |
|
16 | - $table->timestamps(); |
|
17 | - }); |
|
8 | + /** |
|
9 | + * |
|
10 | + */ |
|
11 | + public function testIlluminateConnection() |
|
12 | + { |
|
13 | + Illuminate\Database\Capsule\Manager::schema()->create('test', function (Blueprint $table) { |
|
14 | + $table->increments('id'); |
|
15 | + $table->string('email')->unique(); |
|
16 | + $table->timestamps(); |
|
17 | + }); |
|
18 | 18 | |
19 | - \Illuminate\Database\Capsule\Manager::table('test')->insert( |
|
20 | - [ |
|
21 | - 'email' => '[email protected]' |
|
22 | - ] |
|
23 | - ); |
|
19 | + \Illuminate\Database\Capsule\Manager::table('test')->insert( |
|
20 | + [ |
|
21 | + 'email' => '[email protected]' |
|
22 | + ] |
|
23 | + ); |
|
24 | 24 | |
25 | - $test = \Illuminate\Database\Capsule\Manager::table('test')->first(); |
|
26 | - $this->assertNotEmpty($test); |
|
27 | - \Illuminate\Database\Capsule\Manager::schema()->drop('test'); |
|
28 | - } |
|
25 | + $test = \Illuminate\Database\Capsule\Manager::table('test')->first(); |
|
26 | + $this->assertNotEmpty($test); |
|
27 | + \Illuminate\Database\Capsule\Manager::schema()->drop('test'); |
|
28 | + } |
|
29 | 29 | } |