Skip to content

Commit 8ff4543

Browse files
committed
Merge pull request #2610 from biruwon/2.1
Update database.rst
2 parents 12e2ef0 + 1fe82dd commit 8ff4543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/testing/database.rst

Lines changed: 1 addition & 1 deletion
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)