Skip to content

Commit 1fe82dd

Browse files
author
Antonio Jesús
committed
Update database.rst
Changed to the correct value on assertEquals()
1 parent 9330ec2 commit 1fe82dd

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
@@ -91,7 +91,7 @@ it's easy to pass a mock object within a test::
9191
->will($this->returnValue($employeeRepository));
9292
9393
$salaryCalculator = new SalaryCalculator($entityManager);
94-
$this->assertEquals(1100, $salaryCalculator->calculateTotalSalary(1));
94+
$this->assertEquals(2100, $salaryCalculator->calculateTotalSalary(1));
9595
}
9696
}
9797

0 commit comments

Comments
 (0)