Yes, sorry, it was a mistake.

I'll commit the original count.

Le 20/06/2013 15:54, Thomas a écrit :
>
> In Tests/Admin/BaseFieldDescriptionTest.php:
>
> > @@ -90,9 +90,38 @@ public function testGetValue()
> >          $description->setOption('code', 'getFoo');
> >
> >          $mock = $this->getMock('stdClass', array('getFoo'));
> > -        $mock->expects($this->once())->method('getFoo')->will($this->returnValue(42));
> > +        $mock->expects($this->any())->method('getFoo')->will($this->returnValue(42));
>
> can you use the exact count here ?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/sonata-project/SonataAdminBundle/pull/1414/files#r4797164>.
>