Skip to content
Snippets Groups Projects
Commit 9b7fc54c authored by llaffont's avatar llaffont
Browse files

Correction tests soumission formulaires

parent 44a4629a
Branches
Tags
No related merge requests found
......@@ -281,16 +281,6 @@ class Class_Sitotheque extends Storm_Model_Abstract {
}
}
// pour le deploy arbre
public function getIdCatMereByIdCat($id_cat_fille)
{
$select = $this->_sitoCategorie->getAdapter()->select()
->from('sito_categorie',array('ID_CAT'=>'ID_CAT', 'ID_CAT_MERE'=>'ID_CAT_MERE'))
->where('ID_CAT=?', $id_cat_fille);
$stmt = $select->query();
$row = $stmt->fetchAll();
return ($row[0]["ID_CAT_MERE"]);
}
public function rendComboCategorie($id_bib,$id_cat) {
......
......@@ -175,7 +175,7 @@ class Admin_NewsletterControllerAddActionTest extends Admin_NewsletterController
}
public function testSubmitButton() {
$this->assertXPath("//div[contains(@onclick,\"$('form#newsletter').submit()\")]",$this->_response->getBody());
$this->assertXPath("//div[contains(@onclick,\"submit()\")]",$this->_response->getBody());
}
}
......@@ -272,7 +272,7 @@ class Admin_NewsletterControllerEditActionTest extends Admin_NewsletterControlle
}
public function testSubmitButton() {
$this->assertXPath("//div[contains(@onclick,\"$('form#newsletter').submit()\")]",$this->_response->getBody());
$this->assertXPath("//div[contains(@onclick,\"submit()\")]",$this->_response->getBody());
}
......
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