Skip to content
Snippets Groups Projects
Commit 6de060af authored by llaffont's avatar llaffont
Browse files

Correction test code plus utilisé

parent 0013d8cd
No related merge requests found
......@@ -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();
......
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