add some documentation to the test cases we are working on.
This commit is contained in:
parent
730777a5ca
commit
38e61f5eb2
@ -34,6 +34,10 @@ class UserRepositoryTest extends TestCase
|
|||||||
|
|
||||||
$results = $userRepository->create($user);
|
$results = $userRepository->create($user);
|
||||||
$this->assertTrue($results);
|
$this->assertTrue($results);
|
||||||
|
/**
|
||||||
|
* We are testing if the User entity has been mutated by the `create`
|
||||||
|
* method in the UserRepository.
|
||||||
|
*/
|
||||||
$this->assertEquals(100, $user->getId());
|
$this->assertEquals(100, $user->getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user