mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Remove unnecessary loadFixtures() calls
This commit is contained in:
parent
a9c279aab0
commit
75882507bc
2 changed files with 0 additions and 3 deletions
|
@ -1291,7 +1291,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindThreaded() {
|
public function testFindThreaded() {
|
||||||
$this->loadFixtures('Person');
|
|
||||||
$Model = new Person();
|
$Model = new Person();
|
||||||
$Model->recursive = -1;
|
$Model->recursive = -1;
|
||||||
$Model->Behaviors->attach('Tree', array('parent' => 'mother_id'));
|
$Model->Behaviors->attach('Tree', array('parent' => 'mother_id'));
|
||||||
|
|
|
@ -1082,8 +1082,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBindModelCallsInBehaviors() {
|
public function testBindModelCallsInBehaviors() {
|
||||||
$this->loadFixtures('Article', 'Comment');
|
|
||||||
|
|
||||||
// hasMany
|
// hasMany
|
||||||
$Article = new Article();
|
$Article = new Article();
|
||||||
$Article->unbindModel(array('hasMany' => array('Comment')));
|
$Article->unbindModel(array('hasMany' => array('Comment')));
|
||||||
|
|
Loading…
Reference in a new issue