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

Merge branch...

Merge branch 'hotline#63781_acces_au_parametrage_du_formulaire_de_preinscription_en_front' into 'hotline-master'

hotline #63781 fix fatal error

See merge request !2286
parents 62c56e09 ff58ccf8
Branches
Tags
3 merge requests!2334Master,!2301Master,!2286hotline #63781 fix fatal error
Pipeline #2272 passed with stage
in 24 minutes and 24 seconds
- ticket #63781 : Administration : correction du formulaire de paramétrage de la page de préinscription.
\ No newline at end of file
<?php echo $this->render('modules/_debut.phtml');?>
<?php echo $this->render('modules/_fin.phtml');?>
......@@ -410,3 +410,26 @@ class AuthControllerPreRegistrationWithNoPreRegistrationTest extends AuthControl
$this->assertFlashMessengerContentContains('Cette fonctionnalité n\'est pas activé');
}
}
class AuthControllerPreRegistrationSettingsTest extends AuthControllerPreRegistrationKohaTestCase {
public function setUp() {
parent::setUp();
ZendAfi_Auth::getInstance()->logUser($this->fixture('Class_Users',
['id' => 78,
'login' => 'sadm',
'password' => 'um',
'role_level' => ZendAfi_Acl_AdminControllerRoles::SUPER_ADMIN]));
$this->dispatch('/admin/modules/auth/config/site/type_module/auth/id_profil/1/action1/pre-registration/action2/', true);
}
/** @test */
public function widgetStyleSelectorShouldBePresent() {
$this->assertXPath('//form//select[@name="boite"]');
}
}
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