Skip to content
Snippets Groups Projects
Commit 917b7df5 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #21758 : fix tests failures

parent f334ae12
Branches
Tags
3 merge requests!896Master,!830Dev#21758 json search results,!823Dev#21758 json search results
......@@ -395,14 +395,10 @@ class CriteresRechercheWithGenreTest extends AbstractControllerTestCase {
/** @test */
public function visitFiltresShouldBeCalledWithG10AndG56() {
$visitor = Storm_Test_ObjectWrapper::mock()
->whenCalled('visitFiltre')
->answers(true)
->whenCalled('hasErreur')
->answers(false)
->whenCalled('visitTri')
->answers(true);
->whenCalled('visitFiltre')->answers(true)
->whenCalled('hasErreur')->answers(false)
->whenCalled('visitTri')->answers(true)
->whenCalled('visitNumericOnly')->answers(true);
$this->criteres_recherche->acceptVisitor($visitor);
$this->assertEquals(['G10','G56'], $visitor->getFirstAttributeForLastCallOn('visitFiltre'));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment