7
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
8
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
10
* Licensed under The Open Group Test Suite License
11
* Redistributions of files must retain the above copyright notice.
13
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
14
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
16
* @subpackage cake.tests.cases.libs.model
17
* @since CakePHP(tm) v 1.2.0.4206
18
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
20
App::import('Core', array('AppModel', 'Model'));
21
require_once dirname(__FILE__) . DS . 'models.php';
23
SimpleTest::ignore('BaseModelTest');
29
* @subpackage cake.tests.cases.libs.model
31
class BaseModelTest extends CakeTestCase {
34
* autoFixtures property
39
var $autoFixtures = false;
47
var $fixtures = array(
48
'core.category', 'core.category_thread', 'core.user', 'core.my_category', 'core.my_product',
49
'core.my_user', 'core.my_categories_my_users', 'core.my_categories_my_products',
50
'core.article', 'core.featured', 'core.article_featureds_tags', 'core.article_featured',
51
'core.articles', 'core.numeric_article', 'core.tag', 'core.articles_tag', 'core.comment',
52
'core.attachment', 'core.apple', 'core.sample', 'core.another_article', 'core.item',
53
'core.advertisement', 'core.home', 'core.post', 'core.author', 'core.bid', 'core.portfolio',
54
'core.product', 'core.project', 'core.thread', 'core.message', 'core.items_portfolio',
55
'core.syfile', 'core.image', 'core.device_type', 'core.device_type_category',
56
'core.feature_set', 'core.exterior_type_category', 'core.document', 'core.device',
57
'core.document_directory', 'core.primary_model', 'core.secondary_model', 'core.something',
58
'core.something_else', 'core.join_thing', 'core.join_a', 'core.join_b', 'core.join_c',
59
'core.join_a_b', 'core.join_a_c', 'core.uuid', 'core.data_test', 'core.posts_tag',
60
'core.the_paper_monkies', 'core.person', 'core.underscore_field', 'core.node',
61
'core.dependency', 'core.story', 'core.stories_tag', 'core.cd', 'core.book', 'core.basket',
62
'core.overall_favorite', 'core.account', 'core.content', 'core.content_account',
63
'core.film_file', 'core.test_plugin_article', 'core.test_plugin_comment', 'core.uuiditem',
64
'core.counter_cache_user', 'core.counter_cache_post',
65
'core.counter_cache_user_nonstandard_primary_key',
66
'core.counter_cache_post_nonstandard_primary_key', 'core.uuidportfolio',
67
'core.uuiditems_uuidportfolio', 'core.uuiditems_uuidportfolio_numericid', 'core.fruit',
68
'core.fruits_uuid_tag', 'core.uuid_tag', 'core.product_update_all', 'core.group_update_all'
79
$this->debug = Configure::read('debug');
80
Configure::write('debug', 2);
91
Configure::write('debug', $this->debug);
101
ClassRegistry::flush();