add some documentation to the test cases we are working on.

This commit is contained in:
Dave Smith-Hayes 2024-11-18 02:05:12 +00:00
parent 730777a5ca
commit 38e61f5eb2

View File

@ -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());
} }
} }