ProjetsTableTest.php
1.55 KB
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
75
76
77
78
79
80
81
82
83
84
85
<?php
namespace App\Test\TestCase\Model\Table;
use App\Model\Table\ProjetsTable;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;
/**
* App\Model\Table\ProjetsTable Test Case
*/
class ProjetsTableTest extends TestCase
{
/**
* Test subject
*
* @var \App\Model\Table\ProjetsTable
*/
public $Projets;
/**
* Fixtures
*
* @var array
*/
public $fixtures = [
'app.Projets',
'app.GroupesThematiques',
'app.Users',
'app.Materiels'
];
/**
* setUp method
*
* @return void
*/
public function setUp()
{
parent::setUp();
$config = TableRegistry::getTableLocator()->exists('Projets') ? [] : ['className' => ProjetsTable::class];
$this->Projets = TableRegistry::getTableLocator()->get('Projets', $config);
}
/**
* tearDown method
*
* @return void
*/
public function tearDown()
{
unset($this->Projets);
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.');
}
/**
* Test buildRules method
*
* @return void
*/
public function testBuildRules()
{
$this->markTestIncomplete('Not implemented yet.');
}
}