Skip to content

Commit e5c28c8

Browse files
committed
[#4909] Fixing a bug I noticed thanks to this PR
1 parent ac9ba97 commit e5c28c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/testing/database.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Suppose the class you want to test looks like this::
4949
public function calculateTotalSalary($id)
5050
{
5151
$employeeRepository = $this->entityManager
52-
->getRepository('AppBundle::Employee');
52+
->getRepository('AppBundle:Employee');
5353
$employee = $employeeRepository->find($id);
5454

5555
return $employee->getSalary() + $employee->getBonus();

0 commit comments

Comments
 (0)