Show
Ignore:
Timestamp:
05/06/08 14:41:22 (8 months ago)
Author:
romanb
Message:

Refactorings. Started with new hydrator for 2.0.

Location:
trunk/tests_old/DataType
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests_old/DataType/BooleanTestCase.php

    r3882 r4338  
    6161        $this->connection->clear(); 
    6262         
    63         $test = $test->getMapper()->find($test->id); 
     63        $test = $test->getRepository()->find($test->id); 
    6464        $this->assertIdentical($test->is_working, true); 
    6565    } 
  • trunk/tests_old/DataType/EnumTestCase.php

    r3882 r4338  
    173173    public function testFailingRefresh()  
    174174    { 
    175         $enum = $this->connection->getMapper('EnumTest')->find(1); 
     175        $enum = $this->connection->getRepository('EnumTest')->find(1); 
    176176 
    177177        $this->conn->exec('DELETE FROM enum_test WHERE id = 1');