@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | use BristolSU\Module\UploadFile\Models\File; |
4 | 4 | use Faker\Generator as Faker; |
5 | 5 | |
6 | -$factory->define(File::class, function (Faker $faker) { |
|
6 | +$factory->define(File::class, function(Faker $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'title' => $faker->sentence, |
9 | 9 | 'description' => $faker->sentence, |
@@ -14,10 +14,10 @@ discard block |
||
14 | 14 | 'uploaded_by' => function() { |
15 | 15 | return factory(\BristolSU\ControlDB\Models\User::class)->create()->id(); |
16 | 16 | }, |
17 | - 'module_instance_id' => function () { |
|
17 | + 'module_instance_id' => function() { |
|
18 | 18 | return factory(\BristolSU\Support\ModuleInstance\ModuleInstance::class)->create()->id; |
19 | 19 | }, |
20 | - 'activity_instance_id' => function () { |
|
20 | + 'activity_instance_id' => function() { |
|
21 | 21 | return factory(\BristolSU\Support\ActivityInstance\ActivityInstance::class)->create()->id; |
22 | 22 | } |
23 | 23 | ]; |