[openaria-Commits] r2191 - branches/trunk_evo_OM_4.6/tests/binary_files/dyn

0 views
Skip to first unread message

ceri...@adullact.net

unread,
Jun 16, 2017, 6:02:13 AM6/16/17
to openmairi...@googlegroups.com
Author: cerini_j
Date: 2017-06-16 12:02:10 +0200 (Fri, 16 Jun 2017)
New Revision: 2191

Added:
branches/trunk_evo_OM_4.6/tests/binary_files/dyn/directory.inc.php
branches/trunk_evo_OM_4.6/tests/binary_files/dyn/mail.inc.php
Log:
Ajout des dyn de test

Added: branches/trunk_evo_OM_4.6/tests/binary_files/dyn/directory.inc.php
===================================================================
--- branches/trunk_evo_OM_4.6/tests/binary_files/dyn/directory.inc.php (rev 0)
+++ branches/trunk_evo_OM_4.6/tests/binary_files/dyn/directory.inc.php 2017-06-16 10:02:10 UTC (rev 2191)
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Ce script permet de définir une configuration LDAP pour les tests.
+ *
+ * Le LDAP utilisé est fourni par www.forumsys.com qui le met gracieusement à
+ * disposition.
+ * Toutes les informations sont disponibles ici :
+ * http://www.forumsys.com/en/tutorials/integration-how-to/ldap/online-ldap-test-server/
+ * Pour tester la fonctionnalité "Interface avec un annuaire", nous configurons
+ * l'annuaire pour synchroniser les quatre utilisateurs suivants :
+ * - einstein:password
+ * - newton:password
+ * - galieleo:password
+ * - tesla:password
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id$
+ */
+
+//
+$directory = array(
+ "ldap-test" => array(
+ 'ldap_server' => 'ldap.forumsys.com',
+ 'ldap_server_port' => '389',
+ 'ldap_admin_login' => 'cn=read-only-admin,dc=example,dc=com',
+ 'ldap_admin_passwd' => 'password',
+ 'ldap_base' => 'dc=example,dc=com',
+ 'ldap_base_users' => 'dc=example,dc=com',
+ 'ldap_user_filter' => '(&(objectclass=inetOrgPerson)(|(uid=einstein)(uid=newton)(uid=galieleo)(uid=tesla)))',
+ 'ldap_login_attrib' => 'uid',
+ 'ldap_more_attrib' => array(
+ 'email' => 'mail',
+ 'nom' => 'cn',
+ ),
+ 'default_om_profil' => 1,
+ ),
+);
+
+?>

Added: branches/trunk_evo_OM_4.6/tests/binary_files/dyn/mail.inc.php
===================================================================
--- branches/trunk_evo_OM_4.6/tests/binary_files/dyn/mail.inc.php (rev 0)
+++ branches/trunk_evo_OM_4.6/tests/binary_files/dyn/mail.inc.php 2017-06-16 10:02:10 UTC (rev 2191)
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Ce script permet de définir une configuration SMTP pour les tests.
+ *
+ * Le SMTP utilisé est maildump : https://pypi.python.org/pypi/maildump.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id$
+ */
+
+$mail = array();
+$mail["mail-test"] = array(
+ 'mail_host' => 'localhost',
+ 'mail_port' => '1025',
+ 'mail_username' => '',
+ 'mail_pass' => '',
+ 'mail_from' => 'con...@openmairie.org',
+ 'mail_from_name' => 'Administrateur Framework openMairie',
+);
+
+?>

Reply all
Reply to author
Forward
0 new messages