Skip to content
Snippets Groups Projects
Commit ebc667ec authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #12996 : fix CI failures

parent 49dd5408
Branches
Tags
3 merge requests!529Hotline 6.56,!418Dev#12996 formation ajout zone groupe utilisateur,!417Dev#12996 formation ajout zone groupe utilisateur
......@@ -16,13 +16,13 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with AFI-OPAC 2.0; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class ZendAfi_Form_Admin_CustomFields_CustomFieldModel extends ZendAfi_Form_Admin_CustomFields {
public static function newWith($custom_field_array) {
public static function newWith($custom_field_array=[], $custom_form=null) {
$form = new self();
$form
->addElement('hidden', 'model')
......
......@@ -236,10 +236,7 @@ class CustomFieldsControllerAddIndexTest extends CustomFieldControllerTestCase {
public function getFieldTypeValues() {
return [[Class_CustomField_Meta::TEXT_INPUT, 'Texte'],
[Class_CustomField_Meta::TEXT_AREA, 'Zone de texte'],
[Class_CustomField_Meta::CKEDITOR, 'Zone de texte riche/HTML'],
[Class_CustomField_Meta::SELECT, "Liste d'options"]];
return (new Class_CustomField_Meta())->getFieldTypes();
}
/** @test
......
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