From 0a401fe84c64cf755ed214a8b03cfa7faad1986d Mon Sep 17 00:00:00 2001 From: mostefamed Date: Sat, 3 Apr 2021 15:20:57 +0200 Subject: [PATCH] Update testing.rst Fix the expected value in the assertEquals --- testing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing.rst b/testing.rst index 130ed0ab2ae..755a315dfe5 100644 --- a/testing.rst +++ b/testing.rst @@ -925,8 +925,8 @@ You can remove an existing field, e.g. a tag:: $crawler = $client->request($form->getMethod(), $form->getUri(), $values, $form->getPhpFiles()); - // the tag has been removed - $this->assertEquals(0, $crawler->filter('ul.tags > li')->count()); + // the tag 'foo' has been removed + $this->assertEquals(1, $crawler->filter('ul.tags > li')->count()); .. index:: pair: Tests; Configuration