Re: [symfony-users] [symfony2] difference between count(...) and ...-count() in Testing?

2011-04-26 Thread Fabien Potencier
On 4/25/11 10:11 PM, Sebastian Göttschkes wrote: Hi, I'm reading the docs about Testing right now, and I got confused over the usage of count() and -count(): http://symfony.com/doc/2.0/book/testing.html Under the headline Usefull Assertions it says in the first example to use

[symfony-users] [symfony2] difference between count(...) and ...-count() in Testing?

2011-04-25 Thread Sebastian Göttschkes
Hi, I'm reading the docs about Testing right now, and I got confused over the usage of count() and -count(): http://symfony.com/doc/2.0/book/testing.html Under the headline Usefull Assertions it says in the first example to use count($crawler-filter($selector)) and in the second line

Re: [symfony-users] [symfony2] difference between count(...) and ...-count() in Testing?

2011-04-25 Thread Jeremiah Dodds
2011/4/25 Sebastian Göttschkes sebastian.goettsch...@googlemail.com Hi, I'm reading the docs about Testing right now, and I got confused over the usage of count() and -count(): http://symfony.com/doc/2.0/book/testing.html Under the headline Usefull Assertions it says in the first example