removed the compile call from unittestcase
This commit is contained in:
parent
843711bc32
commit
5780e3b9b7
@ -436,7 +436,7 @@ class DQLException extends Exception { }
|
||||
* @return string
|
||||
*/
|
||||
public static function classify($tablename) {
|
||||
return preg_replace('~(_?)(_)([\w])~e', '"$1".strtoupper("$3")', ucfirst($tablename));
|
||||
return preg_replace('~(_?)(_)([\w])~e', '"$1".strtoupper("$3")', ucfirst($tablename));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once("../Doctrine.php");
|
||||
|
||||
Doctrine::compile();
|
||||
//Doctrine::compile();
|
||||
|
||||
//require_once("../Doctrine.compiled.php");
|
||||
|
||||
|
@ -136,7 +136,7 @@ class Doctrine_ValidatorTestCase extends Doctrine_UnitTestCase {
|
||||
$this->assertFalse($validator->validate($email,"address","example@e..",null));
|
||||
|
||||
$this->assertFalse($validator->validate($email,"address","example@e..",null));
|
||||
$this->assertTrue($validator->validate($email,"address","example@e.e.e.e.e",null));
|
||||
|
||||
|
||||
}
|
||||
public function testSave() {
|
||||
|
@ -67,7 +67,7 @@ $test->addTestCase(new Doctrine_QueryTestCase());
|
||||
|
||||
$test->addTestCase(new Doctrine_RawSql_TestCase());
|
||||
|
||||
//$test->addTestCase(new Doctrine_Query_Limit_TestCase());
|
||||
$test->addTestCase(new Doctrine_Query_Limit_TestCase());
|
||||
|
||||
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
|
||||
//$test->addTestCase(new Doctrine_Cache_SqliteTestCase());
|
||||
|
Loading…
x
Reference in New Issue
Block a user