From 1fe82dd85eb121857ddb7e0c15eccc382d98bcaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Jes=C3=BAs?= Date: Mon, 6 May 2013 12:10:19 +0300 Subject: [PATCH] Update database.rst Changed to the correct value on assertEquals() --- cookbook/testing/database.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }