We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac9ba97 commit e5c28c8Copy full SHA for e5c28c8
cookbook/testing/database.rst
@@ -49,7 +49,7 @@ Suppose the class you want to test looks like this::
49
public function calculateTotalSalary($id)
50
{
51
$employeeRepository = $this->entityManager
52
- ->getRepository('AppBundle::Employee');
+ ->getRepository('AppBundle:Employee');
53
$employee = $employeeRepository->find($id);
54
55
return $employee->getSalary() + $employee->getBonus();
0 commit comments