From 6de060af0736694b4b7be2b3a4ee0ff11147f181 Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@git-test.afi-sa.fr> Date: Thu, 14 Feb 2013 09:09:18 +0000 Subject: [PATCH] =?UTF-8?q?Correction=20test=20code=20plus=20utilis=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Class/GlobalSqlRefactoringTest.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/library/Class/GlobalSqlRefactoringTest.php b/tests/library/Class/GlobalSqlRefactoringTest.php index ac5099e06db..76415d7cab7 100644 --- a/tests/library/Class/GlobalSqlRefactoringTest.php +++ b/tests/library/Class/GlobalSqlRefactoringTest.php @@ -140,25 +140,6 @@ class GlobalSqlRefactoringTest extends PHPUnit_Framework_TestCase { } - /** @test */ - public function panierNoticeMajTitre() { - $this->mock_sql - ->expects($this->once()) - ->method('execute') - ->with("update notices_paniers set LIBELLE='toto' where ID_PANIER=2 and ID_USER=5"); - - $this->mock_sql - ->expects($this->once()) - ->method('quote') - ->with('toto') - ->will($this->returnValue("'toto'")); - - $panier = new Class_PanierNotice(); - $panier->majTitre(5, 2, 'toto'); - - } - - /** @test */ public function sitoGetLastSito() { $sito = new Class_Sitotheque(); -- GitLab