File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Illuminate \Support \Str ;
99use Vanilo \Cart \Tests \Dummies \Consumer ;
1010
11-
1211class ConsumerFactory extends Factory
1312{
1413 protected $ model = Consumer::class;
Original file line number Diff line number Diff line change @@ -38,11 +38,14 @@ protected function setUp(): void
3838 /** @var User $user */
3939 $ user = UserFactory::new ()->create ();
4040 /** @var Product $product1 */
41- $ product1 = ProductFactory::new ()->create ();;
41+ $ product1 = ProductFactory::new ()->create ();
42+ ;
4243 /** @var Product $product2 */
43- $ product2 = ProductFactory::new ()->create ();;
44+ $ product2 = ProductFactory::new ()->create ();
45+ ;
4446 /** @var Product $product3 */
45- $ product3 = ProductFactory::new ()->create ();;
47+ $ product3 = ProductFactory::new ()->create ();
48+ ;
4649
4750 $ this ->be ($ user );
4851 $ this ->assertAuthenticatedAs ($ user );
@@ -80,9 +83,12 @@ protected function setUp(): void
8083 config (['vanilo.cart.merge_duplicates ' => false ]);
8184
8285 $ user = UserFactory::new ()->create ();
83- $ product1 = ProductFactory::new ()->create ();;
84- $ product2 = ProductFactory::new ()->create ();;
85- $ product3 = ProductFactory::new ()->create ();;
86+ $ product1 = ProductFactory::new ()->create ();
87+ ;
88+ $ product2 = ProductFactory::new ()->create ();
89+ ;
90+ $ product3 = ProductFactory::new ()->create ();
91+ ;
8692
8793 $ this ->be ($ user );
8894 $ this ->assertAuthenticatedAs ($ user );
You can’t perform that action at this time.
0 commit comments