Commit 5780e3b9 authored by zYne's avatar zYne

removed the compile call from unittestcase

parent 843711bc
......@@ -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));
}
}
?>
<?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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment