2
2
3
3
namespace LucasDotVin \Soulbscription \Database \Factories ;
4
4
5
- use LucasDotVin \Soulbscription \Models \Plan ;
6
5
use Illuminate \Database \Eloquent \Factories \Factory ;
6
+ use LucasDotVin \Soulbscription \Models \Plan ;
7
7
use LucasDotVin \Soulbscription \Models \Subscription ;
8
8
9
9
class SubscriptionFactory extends Factory
@@ -18,13 +18,13 @@ class SubscriptionFactory extends Factory
18
18
public function definition ()
19
19
{
20
20
return [
21
- 'plan_id ' => Plan::factory (),
22
- 'canceled_at ' => null ,
23
- 'started_at ' => $ this ->faker ->dateTime (),
24
- 'suppressed_at ' => null ,
25
- 'expired_at ' => $ this ->faker ->dateTime (),
26
- 'was_switched ' => false ,
27
- 'subscriber_id ' => $ this ->faker ->randomNumber (),
21
+ 'plan_id ' => Plan::factory (),
22
+ 'canceled_at ' => null ,
23
+ 'started_at ' => $ this ->faker ->dateTime (),
24
+ 'suppressed_at ' => null ,
25
+ 'expired_at ' => $ this ->faker ->dateTime (),
26
+ 'was_switched ' => false ,
27
+ 'subscriber_id ' => $ this ->faker ->randomNumber (),
28
28
'subscriber_type ' => $ this ->faker ->word (),
29
29
];
30
30
}
0 commit comments