cakephp2-php8/cake/tests/fixtures/fixturized_test_case.php

19 lines
445 B
PHP
Raw Normal View History

2010-05-08 20:26:21 +00:00
<?php
/**
* This class helps in testing the life-cycle of fixtures inside a CakeTestCase
*
* @package cake
* @subpackage cake.tests.fixtures
*/
class FixturizedTestCase extends CakeTestCase {
2010-05-08 20:26:21 +00:00
public $fixtures = array('core.category');
public function testFixturePresent() {
$this->assertType('CakeFixtureManager', $this->sharedFixture);
}
public function testFixtureLoadOnDemand() {
$this->loadFixtures('Category');
}
2010-05-08 20:26:21 +00:00
}