Blame view

tests/Fixture/ConfigurationsFixture.php 7.67 KB
9be43b8a   Alexandre   #3523 Implémentai...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
namespace App\Test\Fixture;

use Cake\TestSuite\Fixture\TestFixture;

/**
 * ConfigurationsFixture
 *
 */
class ConfigurationsFixture extends TestFixture
{

    /**
     * Fields
     *
     * @var array
     */
    // @codingStandardsIgnoreStart
    public $fields = [
        'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
        'nom' => ['type' => 'string', 'length' => 45, 'null' => false, 'default' => null, 'comment' => 'obligatoire (et unique)', 'precision' => null, 'fixed' => null],
        'mode_install' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
        'mode_debug' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
        'use_ldap' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
d58b8953   Alexandre   Version: 2.4.4.0
25
        'host_ldap' => ['type' => 'text', 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
9be43b8a   Alexandre   #3523 Implémentai...
26
27
28
29
30
31
32
33
34
        'port_ldap' => ['type' => 'string', 'length' => 10, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'authentificationType_ldap' => ['type' => 'string', 'length' => 30, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'baseDn_ldap' => ['type' => 'string', 'length' => 30, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'filter_ldap' => ['type' => 'string', 'length' => 30, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'labName' => ['type' => 'string', 'length' => 30, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'labNameShort' => ['type' => 'string', 'length' => 20, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'labPresent' => ['type' => 'string', 'length' => 10, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'labUmr' => ['type' => 'string', 'length' => 30, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'hasPrinter' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
e3633c13   Alexandre   Version: 2.4.2.23
35
36
    	'nom_groupe_thematique' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
    	'nom_groupe_metier' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
72d73dc4   Alexandre   Version: 2.4.3.2
37
    	'envoi_mail_management_dev' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
3ab8435b   Alexandre   Version: 2.4.6.4
38
    	'sender_mail' => ['type' => 'string', 'length' => 500, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
a95a41e1   Alexandre   Version: 2.4.6.2
39
    	'emailGuest1' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
9be43b8a   Alexandre   #3523 Implémentai...
40
41
        'emailGuest2' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'emailGuest3' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
e3633c13   Alexandre   Version: 2.4.2.23
42
43
    	'emailGuest4' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
    	'emailGuest5' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
d58b8953   Alexandre   Version: 2.4.4.0
44
45
46
47
48
    	'emailGuest6' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'emailGuest7' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'emailGuest8' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
    	'emailGuest9' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
    	'emailGuest10' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
72d73dc4   Alexandre   Version: 2.4.3.2
49
    	'test' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
15ebf91f   Alexandre   Version: 2.4.7.2
50
51
    	'date_commande_facultative' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
    	'numero_labo_sans_annee' => ['type' => 'boolean', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
9cfb4997   Alexandre   Version: 2.4.3.10
52
    	'prix_inventaire_administratif' => ['type' => 'integer', 'length' => 10, 'null' => true, 'default' => 800, 'comment' => '', 'precision' => null],
4dae83a2   Alexandre   Version: 2.5.1.0
53
    	'taille_max_doc' => ['type' => 'integer', 'length' => 15, 'null' => true, 'default' => 8000000, 'comment' => '', 'precision' => null],
32b504ee   Alexis Proust   mise a jour test
54
    	'metrologie' => [ 'type' => 'boolean' , 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
164ad0a0   Etienne Pallier   Grosse ameliorati...
55
56
57
    'aff_par_defaut' => ['type' => 'integer', 'length' => 6, 'null' => false, 'default' => 20, 'comment' => '', 'precision' => null],
    'procedure_sur_accueil' => [ 'type' => 'boolean' , 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
        
72d73dc4   Alexandre   Version: 2.4.3.2
58
    	'_constraints' => [
9be43b8a   Alexandre   #3523 Implémentai...
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
            'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
            'nom_UNIQUE' => ['type' => 'unique', 'columns' => ['nom'], 'length' => []],
        ],
        '_options' => [
            'engine' => 'InnoDB',
            'collation' => 'latin1_swedish_ci'
        ],
    ];
    // @codingStandardsIgnoreEnd

    /**
     * Records
     *
     * @var array
     */
    public $records = [
        [
            'id' => 1,
            'nom' => 'Lorem ipsum dolor sit amet',
9212589e   Alexandre   Ajout tests (débu...
78
79
80
            'mode_install' => 0,
            'mode_debug' => 0,
            'use_ldap' => 0,
9be43b8a   Alexandre   #3523 Implémentai...
81
82
            'host_ldap' => 'Lorem ipsum dolor sit amet',
            'port_ldap' => 'Lorem ip',
e1f6c5b7   Alexandre   Version: 2.3.0.0
83
            'authentificationType_ldap' => 'cn',
9be43b8a   Alexandre   #3523 Implémentai...
84
85
            'baseDn_ldap' => 'Lorem ipsum dolor sit amet',
            'filter_ldap' => 'Lorem ipsum dolor sit amet',
9212589e   Alexandre   Ajout tests (débu...
86
87
88
            'labName' => 'TestLong',
            'labNameShort' => 'TEST',
            'labPresent' => 'de ',
9be43b8a   Alexandre   #3523 Implémentai...
89
            'labUmr' => 'Lorem ipsum dolor sit amet',
9212589e   Alexandre   Ajout tests (débu...
90
            'hasPrinter' => 0,
e3633c13   Alexandre   Version: 2.4.2.23
91
92
        	'nom_groupe_thematique' => 'Lorem ipsum dolor sit amet',
        	'nom_groupe_metier' => 'Lorem ipsum dolor sit amet',
72d73dc4   Alexandre   Version: 2.4.3.2
93
        	'envoi_mail_management_dev' => 1,
3ab8435b   Alexandre   Version: 2.4.6.4
94
        	'sender_mail' => 'ezarear@localhost.com',
9be43b8a   Alexandre   #3523 Implémentai...
95
96
            'emailGuest1' => 'Lorem ipsum dolor sit amet',
            'emailGuest2' => 'Lorem ipsum dolor sit amet',
e3633c13   Alexandre   Version: 2.4.2.23
97
98
            'emailGuest3' => 'Lorem ipsum dolor sit amet',
        	'emailGuest4' => 'Lorem ipsum dolor sit amet',
72d73dc4   Alexandre   Version: 2.4.3.2
99
        	'emailGuest5' => 'Lorem ipsum dolor sit amet',
d58b8953   Alexandre   Version: 2.4.4.0
100
101
102
103
104
        	'emailGuest6' => 'Lorem ipsum dolor sit amet',
        	'emailGuest7' => 'Lorem ipsum dolor sit amet',
        	'emailGuest8' => 'Lorem ipsum dolor sit amet',
        	'emailGuest9' => 'Lorem ipsum dolor sit amet',
        	'emailGuest10' => 'Lorem ipsum dolor sit amet',
9cfb4997   Alexandre   Version: 2.4.3.10
105
106
        	'test' => 1,
        	'prix_inventaire_administratif' => 800,
164ad0a0   Etienne Pallier   Grosse ameliorati...
107
108
109
110
		
        'metrologie' => 1,
        'procedure_sur_accueil' => 1,
            
9be43b8a   Alexandre   #3523 Implémentai...
111
112
113
        ],
    ];
}