| @@ -1,7 +1,7 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | 3 | $factory->define( | 
| 4 | -    \RafflesArgentina\ResourceController\Models\User::class, function (\Faker\Generator $faker) { | |
| 4 | +    \RafflesArgentina\ResourceController\Models\User::class, function(\Faker\Generator $faker) { | |
| 5 | 5 | return [ | 
| 6 | 6 | 'name' => $faker->name, | 
| 7 | 7 | 'email' => $faker->email, | 
| @@ -11,7 +11,7 @@ discard block | ||
| 11 | 11 | ); | 
| 12 | 12 | |
| 13 | 13 | $factory->define( | 
| 14 | -    \RafflesArgentina\ResourceController\Models\Related::class, function (\Faker\Generator $faker) { | |
| 14 | +    \RafflesArgentina\ResourceController\Models\Related::class, function(\Faker\Generator $faker) { | |
| 15 | 15 | return [ | 
| 16 | 16 | 'a' => str_random(), | 
| 17 | 17 | 'b' => str_random(), | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'users', function (Blueprint $table) { | |
| 17 | +            'users', function(Blueprint $table) { | |
| 18 | 18 |                  $table->increments('id'); | 
| 19 | 19 |                  $table->unsignedInteger('upload_id')->nullable(); | 
| 20 | 20 |                  $table->unsignedInteger('related_id')->nullable(); | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'upload_user', function (Blueprint $table) { | |
| 17 | +            'upload_user', function(Blueprint $table) { | |
| 18 | 18 |                  $table->increments('id'); | 
| 19 | 19 |                  $table->unsignedInteger('upload_id'); | 
| 20 | 20 |                  $table->unsignedInteger('user_id'); | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'related', function (Blueprint $table) { | |
| 17 | +            'related', function(Blueprint $table) { | |
| 18 | 18 |                  $table->increments('id'); | 
| 19 | 19 |                  $table->unsignedInteger('user_id')->nullable(); | 
| 20 | 20 |                  $table->string('a'); | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'relatables', function (Blueprint $table) { | |
| 17 | +            'relatables', function(Blueprint $table) { | |
| 18 | 18 |                  $table->unsignedInteger('related_id'); | 
| 19 | 19 |                  $table->unsignedInteger('relatable_id'); | 
| 20 | 20 |                  $table->string('relatable_type')->nullable(); | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'uploadeables', function (Blueprint $table) { | |
| 17 | +            'uploadeables', function(Blueprint $table) { | |
| 18 | 18 |                  $table->unsignedInteger('upload_id')->nullable(); | 
| 19 | 19 |                  $table->unsignedInteger('uploadeable_id')->nullable(); | 
| 20 | 20 |                  $table->string('uploadeable_type')->nullable(); | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'related_user', function (Blueprint $table) { | |
| 17 | +            'related_user', function(Blueprint $table) { | |
| 18 | 18 |                  $table->increments('id'); | 
| 19 | 19 |                  $table->unsignedInteger('user_id'); | 
| 20 | 20 |                  $table->unsignedInteger('related_id'); | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | 16 | Schema::create( | 
| 17 | -            'uploads', function (Blueprint $table) { | |
| 17 | +            'uploads', function(Blueprint $table) { | |
| 18 | 18 |                  $table->increments('id'); | 
| 19 | 19 |                  $table->unsignedInteger('user_id')->nullable(); | 
| 20 | 20 |                  $table->string('location'); | 
| @@ -22,7 +22,7 @@ discard block | ||
| 22 | 22 | |
| 23 | 23 |          $this->json('GET', '/test') | 
| 24 | 24 | ->assertStatus(200); | 
| 25 | - //->assertJsonCount(3, 'data'); | |
| 25 | + //->assertJsonCount(3, 'data'); | |
| 26 | 26 | } | 
| 27 | 27 | |
| 28 | 28 | /** | 
| @@ -41,7 +41,7 @@ discard block | ||
| 41 | 41 | |
| 42 | 42 |          $this->json('GET', '/test2') | 
| 43 | 43 | ->assertStatus(200); | 
| 44 | - //->assertJsonCount(3, 'data'); | |
| 44 | + //->assertJsonCount(3, 'data'); | |
| 45 | 45 | } | 
| 46 | 46 | |
| 47 | 47 | /** |