Skip to content
Snippets Groups Projects
Commit 362e5cf1 authored by efalcy's avatar efalcy
Browse files

merge

parent 7415d768
No related merge requests found
<?php Class_ScriptLoader::getInstance()->addAdminScript('controle_maj'); ?>
<center>
<div class="form" align="center" >
<form name="form" method="post" action="<?php echo $this->url(); ?>">
......
......@@ -672,6 +672,12 @@ class CatalogueControllerAddCatalogueTest extends AdminCatalogueControllerTestCa
public function formActionShouldBeAdminCatalogueAddIdCatalogue100() {
$this->assertXPath('//form[contains(@action, "/admin/catalogue/add/id_catalogue/100")]');
}
/** @test */
public function catalogueAddFormShouldContainsJsControleMaj() {
$this->assertXPath('//script[contains(@src,"controle_maj")]');
}
}
......@@ -733,6 +739,7 @@ class CatalogueControllerAddCataloguePostTest extends AdminCatalogueControllerTe
public function anneeFinShouldBeEmpty() {
$this->assertEmpty($this->_new_catalogue->getAnneeFin());
}
}
......
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