Skip to content

Commit fd3350b

Browse files
committed
minor #8001 Update database.rst (Max93)
This PR was merged into the 3.3 branch. Discussion ---------- Update database.rst Fix typo: EntityManagerInterface to EntityRepository Commits ------- a3271a2 Update database.rst
2 parents d6c846c + a3271a2 commit fd3350b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/database.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ it's easy to pass a mock object within a test::
8787

8888
// Now, mock the repository so it returns the mock of the employee
8989
$employeeRepository = $this
90-
->getMockBuilder(EntityManagerInterface::class)
90+
->getMockBuilder(EntityRepository::class)
9191
->disableOriginalConstructor()
9292
->getMock();
9393
$employeeRepository->expects($this->once())

0 commit comments

Comments
 (0)