Changeset 3826
- Timestamp:
- 02/17/08 14:41:34 (2 years ago)
- Location:
- branches/0.10
- Files:
-
- 2 modified
-
lib/Doctrine/Validator.php (modified) (1 diff)
-
tests/ClassTableInheritanceTestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Validator.php
r3310 r3826 113 113 || $name == 'sequence' 114 114 || $name == 'zerofill' 115 || $name == 'owner' 115 116 || $name == 'scale') { 116 117 continue; -
branches/0.10/tests/ClassTableInheritanceTestCase.php
r3227 r3826 201 201 } 202 202 203 public function testValidationSkipsOwnerOption() 204 { 205 $this->conn->setAttribute(Doctrine::ATTR_VALIDATE, Doctrine::VALIDATE_ALL); 206 $record = $this->conn->getTable('CTITest')->find(1); 207 try { 208 $record->name = "winston"; 209 $this->assertTrue($record->isValid()); 210 $this->pass(); 211 } catch (Exception $e) { 212 $this->fail(); 213 } 214 $this->conn->setAttribute(Doctrine::ATTR_VALIDATE, Doctrine::VALIDATE_NONE); 215 } 216 203 217 public function testDeleteIssuesQueriesOnAllJoinedTables() 204 218 {