Show
Ignore:
Timestamp:
03/26/08 11:10:45 (10 months ago)
Author:
romanb
Message:

merged fix for #912 from 0.10 to trunk (turned out it was not broken in trunk but i merged the patch & testcase anyway. Other refactorings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests_old/Inheritance/JoinedTestCase.php

    r4101 r4119  
    4646         
    4747        // expected joined parents option 
    48         $this->assertEqual(array(), $userTable->getOption('parents')); 
    49         $this->assertEqual(array('CTI_User'), $managerTable->getOption('parents')); 
    50         $this->assertEqual(array('CTI_User'), $customerTable->getOption('parents')); 
    51         $this->assertEqual(array('CTI_Manager', 'CTI_User'), $suManagerTable->getOption('parents')); 
     48        $this->assertEqual(array(), $userTable->getParentClasses()); 
     49        $this->assertEqual(array('CTI_User'), $managerTable->getParentClasses()); 
     50        $this->assertEqual(array('CTI_User'), $customerTable->getParentClasses()); 
     51        $this->assertEqual(array('CTI_Manager', 'CTI_User'), $suManagerTable->getParentClasses()); 
    5252         
    5353        // check inheritance map