From 09b6425482298ff45224870460fc5739b65599f7 Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@git-test.afi-sa.fr> Date: Thu, 25 Jul 2013 08:31:19 +0000 Subject: [PATCH] Correction tests requetes kiosque --- tests/library/ZendAfi/View/Helper/Accueil/KiosqueTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/library/ZendAfi/View/Helper/Accueil/KiosqueTest.php b/tests/library/ZendAfi/View/Helper/Accueil/KiosqueTest.php index ce3597f31b1..1b5b738099c 100644 --- a/tests/library/ZendAfi/View/Helper/Accueil/KiosqueTest.php +++ b/tests/library/ZendAfi/View/Helper/Accueil/KiosqueTest.php @@ -174,7 +174,7 @@ class ZendAfi_View_Helper_Accueil_KiosqueRequetesTest extends ZendAfi_View_Helpe ->whenCalled('fetchOne')->with("select count(*) from notices where url_vignette > '' and url_vignette != 'NO'") ->answers(10) - ->whenCalled('fetchAll')->with(Class_Notice::selectIdsFromRequest("select id_notice from notices where url_vignette > '' and url_vignette != 'NO' order by date_creation DESC LIMIT 5000"), false) + ->whenCalled('fetchAllByColumn')->with(Class_Notice::selectIdsFromRequest("select id_notice from notices where url_vignette > '' and url_vignette != 'NO' order by date_creation DESC LIMIT 5000")) ->answers([ 2,45]) ->beStrict(); -- GitLab