Closed designvoid closed 7 years ago
Why is the assertion 2 here?
https://github.com/co0lsky/seeding-data-in-the-testing/blob/master/tests/Feature/UserTest.php#L27
Surely it should be 1 as User A is just following User B?
Apologies for the late reply. The user A (id=2) follows user C (id=1) in the UsersTableSeeder.
https://github.com/co0lsky/seeding-data-in-the-testing/blob/master/database/seeds/UsersTableSeeder.php#L25
Why is the assertion 2 here?
https://github.com/co0lsky/seeding-data-in-the-testing/blob/master/tests/Feature/UserTest.php#L27
Surely it should be 1 as User A is just following User B?