Skip to content

Commit

Permalink
[#4909] Fixing a bug I noticed thanks to this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 20, 2015
1 parent ac9ba97 commit e5c28c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/testing/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Suppose the class you want to test looks like this::
public function calculateTotalSalary($id)
{
$employeeRepository = $this->entityManager
->getRepository('AppBundle::Employee');
->getRepository('AppBundle:Employee');
$employee = $employeeRepository->find($id);

return $employee->getSalary() + $employee->getBonus();
Expand Down

0 comments on commit e5c28c8

Please sign in to comment.