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