From 6a97f4a0cad07717decb785940dc4fb30f742bf1 Mon Sep 17 00:00:00 2001 From: Alex Oroshchuk Date: Sun, 6 Oct 2019 23:15:41 +0100 Subject: [PATCH] Remove "mocking" to better reflect the subject. This section is about doing a functional (or perhaps integration?) testing with the real (not mocked) objects, therefore using "mocking" in the title is not correct, especially because it echoes the previous section where actual mock objects are used. --- testing/database.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/database.rst b/testing/database.rst index f2a76a1b40e..bf8fbd564ca 100644 --- a/testing/database.rst +++ b/testing/database.rst @@ -200,7 +200,7 @@ the employee which gets returned by the ``Repository``, which itself gets returned by the ``EntityManager``. This way, no real class is involved in testing. -Mocking a Doctrine Repository in Functional Tests +Functional Testing of A Doctrine Repository ------------------------------------------------- In :ref:`functional tests ` you'll make queries to the