diff --git a/cookbook/testing/database.rst b/cookbook/testing/database.rst index 151e57c0696..17fd2431625 100644 --- a/cookbook/testing/database.rst +++ b/cookbook/testing/database.rst @@ -91,7 +91,7 @@ it's easy to pass a mock object within a test:: ->will($this->returnValue($employeeRepository)); $salaryCalculator = new SalaryCalculator($entityManager); - $this->assertEquals(1100, $salaryCalculator->calculateTotalSalary(1)); + $this->assertEquals(2100, $salaryCalculator->calculateTotalSalary(1)); } }