ProjetsTableTest.php 1.55 KB
<?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.');
    }
}