Skip to content

Commit 1d0fe96

Browse files
committed
Fixed code examples in cookbook/testing
1 parent a4c1e2d commit 1d0fe96

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cookbook/testing/doctrine.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ to get a valid connection. In this case, you'll extend the ``WebTestCase``,
2121
which makes all of this quite easy::
2222

2323
// src/Acme/StoreBundle/Tests/Entity/ProductRepositoryFunctionalTest.php
24-
2524
namespace Acme\StoreBundle\Tests\Entity;
2625

2726
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

cookbook/testing/profiling.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ environment)::
2222
$client = static::createClient();
2323
$crawler = $client->request('GET', '/hello/Fabien');
2424

25-
// Write some assertions about the Response
26-
// ...
25+
// ... write some assertions about the Response
2726

2827
// Check that the profiler is enabled
2928
if ($profile = $client->getProfile()) {

0 commit comments

Comments
 (0)