Blame view

tests/Fixture/GroupesThematiquesFixture.php 1.43 KB
6c4edfa3   Alexandre   First Commit LabI...
1
2
3
4
5
6
7
8
9
10
11
12
<?php
namespace App\Test\Fixture;

use Cake\TestSuite\Fixture\TestFixture;

/**
 * GroupesThematiquesFixture
 *
 */
class GroupesThematiquesFixture extends TestFixture
{

93790936   Etienne Pallier   Tests Fixtures =>...
13
    public $import = ['model' => 'GroupesThematiques'];
6c4edfa3   Alexandre   First Commit LabI...
14
15
16
17
18
    /**
     * Fields
     *
     * @var array
     */
93790936   Etienne Pallier   Tests Fixtures =>...
19
    /*
6c4edfa3   Alexandre   First Commit LabI...
20
21
22
23
24
25
26
27
28
29
30
31
32
33
    // @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' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        'description' => ['type' => 'string', 'length' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        '_constraints' => [
            'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
        ],
        '_options' => [
            'engine' => 'InnoDB',
            'collation' => 'latin1_swedish_ci'
        ],
    ];
    // @codingStandardsIgnoreEnd
93790936   Etienne Pallier   Tests Fixtures =>...
34
    */
6c4edfa3   Alexandre   First Commit LabI...
35
36
37
38
39
40
41
42

    /**
     * Records
     *
     * @var array
     */
    public $records = [
        [
bcc25a64   Etienne Pallier   Tests génériques ...
43
            //'id' => 1,
bbf540f9   Etienne Pallier   Divers
44
            'nom' => 'nom1',
6c4edfa3   Alexandre   First Commit LabI...
45
46
            'description' => 'Lorem ipsum dolor sit amet'
        ],
4d55cf0b   Etienne Pallier   NEW ACL centralis...
47
        [
bcc25a64   Etienne Pallier   Tests génériques ...
48
            //'id' => 2,
bbf540f9   Etienne Pallier   Divers
49
            'nom' => 'nom2',
4d55cf0b   Etienne Pallier   NEW ACL centralis...
50
51
            'description' => 'Lorem ipsum dolor sit amet'
        ],
6c4edfa3   Alexandre   First Commit LabI...
52
53
    ];
}