Blame view

tests/Fixture/FournisseursFixture.php 1.17 KB
eb481e4f   Alexis Proust   preparation merge...
1
2
3
4
5
6
7
8
9
10
11
12
<?php
namespace App\Test\Fixture;

use Cake\TestSuite\Fixture\TestFixture;

/**
 * FournisseursFixture
 *
 */
class FournisseursFixture extends TestFixture
{

93790936   Etienne Pallier   Tests Fixtures =>...
13
14
    public $import = ['model' => 'Fournisseurs'];
    
eb481e4f   Alexis Proust   preparation merge...
15
16
17
18
19
    /**
     * Fields
     *
     * @var array
     */
93790936   Etienne Pallier   Tests Fixtures =>...
20
    /*
eb481e4f   Alexis Proust   preparation merge...
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' => 50, '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
    */
eb481e4f   Alexis Proust   preparation merge...
35
36
37
38
39
40
41
42

    /**
     * Records
     *
     * @var array
     */
    public $records = [
        [
bcc25a64   Etienne Pallier   Tests génériques ...
43
            //'id' => 1,
6146bc13   Etienne Pallier   IMPORTANTE MISE A...
44
            'nom' => 'Fournisseur1'
feca4c01   Etienne Pallier   bugfix "action im...
45
46
        ],
        [
bcc25a64   Etienne Pallier   Tests génériques ...
47
            //'id' => 2,
6146bc13   Etienne Pallier   IMPORTANTE MISE A...
48
            'nom' => 'Fournisseur2'
eb481e4f   Alexis Proust   preparation merge...
49
50
51
        ],
    ];
}