Blame view

tests/TestCase/Model/Table/GroupesThematiquesTableTest.php 1.42 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\GroupesThematiquesTable;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;

/**
 * App\Model\Table\GroupesThematiquesTable Test Case
 */
class GroupesThematiquesTableTest extends TestCase
{

    /**
     * Test subject
     *
     * @var \App\Model\Table\GroupesThematiquesTable
     */
    public $GroupesThematiques;

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

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

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

        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.');
    }
}