Changeset 4994

Show
Ignore:
Timestamp:
09/26/08 20:23:48 (9 months ago)
Author:
jwage
Message:

[1.0] Cleaning up test for #1395

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/tests/Ticket/1395TestCase.php

    r4975 r4994  
    5252        try { 
    5353            $myModel = $this->conn->getTable('T1395_MyModel')->find(0); 
     54            print_r($myModel->toArray(true)); 
     55            exit; 
    5456            $this->assertTrue(isset($myModel->dt_created)); 
    5557            $this->assertTrue(isset($myModel->days_old)); // This is a calculated field from within the T1395_Listener::preHydrate 
     
    6668    { 
    6769        $this->hasColumn('id', 'integer', 4, array('primary' => true, 'notnull' => true)); 
    68         $this->hasColumn('dt_created', 'date', null, array('alltypes' =>  array(  0 => 'date', ), 'ntype' => 'date', 'values' =>  array(), 'primary' => false, 'notnull' => false, 'autoincrement' => false)); 
     70        $this->hasColumn('dt_created', 'date'); 
    6971    } 
    7072