We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f8980 commit a3271a2Copy full SHA for a3271a2
testing/database.rst
@@ -86,7 +86,7 @@ it's easy to pass a mock object within a test::
86
87
// Now, mock the repository so it returns the mock of the employee
88
$employeeRepository = $this
89
- ->getMockBuilder(EntityManagerInterface::class)
+ ->getMockBuilder(EntityRepository::class)
90
->disableOriginalConstructor()
91
->getMock();
92
$employeeRepository->expects($this->once())
0 commit comments