Blame view

tests/TestCase/Model/Table/OrganismesTableTest.php 1.33 KB
6c4edfa3   Alexandre   First Commit LabI...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
namespace App\Test\TestCase\Model\Table;

use App\Model\Table\OrganismesTable;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;

/**
 * App\Model\Table\OrganismesTable Test Case
 */
class OrganismesTableTest extends TestCase
{

    /**
     * Test subject
     *
     * @var \App\Model\Table\OrganismesTable
     */
    public $Organismes;

    /**
     * Fixtures
     *
     * @var array
     */
    public $fixtures = [
        'app.organismes',
        'app.materiels'
    ];

    /**
     * setUp method
     *
     * @return void
     */
    public function setUp()
    {
        parent::setUp();
        $config = TableRegistry::exists('Organismes') ? [] : ['className' => 'App\Model\Table\OrganismesTable'];
        $this->Organismes = TableRegistry::get('Organismes', $config);
    }

    /**
     * tearDown method
     *
     * @return void
     */
    public function tearDown()
    {
        unset($this->Organismes);

        parent::tearDown();
    }

    /**
     * Test initialize method
     *
     * @return void
     */
    public function testInitialize()
    {
        $this->markTestIncomplete('Not implemented yet.');
    }

    /**
     * Test validationDefault method
     *
     * @return void
     */
    public function testValidationDefault()
    {
        $this->markTestIncomplete('Not implemented yet.');
    }
}