Commit 5780e3b9 authored by zYne's avatar zYne

removed the compile call from unittestcase

parent 843711bc
<?php <?php
require_once("../Doctrine.php"); require_once("../Doctrine.php");
Doctrine::compile(); //Doctrine::compile();
//require_once("../Doctrine.compiled.php"); //require_once("../Doctrine.compiled.php");
......
...@@ -136,7 +136,7 @@ class Doctrine_ValidatorTestCase extends Doctrine_UnitTestCase { ...@@ -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->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() { public function testSave() {
......
...@@ -67,7 +67,7 @@ $test->addTestCase(new Doctrine_QueryTestCase()); ...@@ -67,7 +67,7 @@ $test->addTestCase(new Doctrine_QueryTestCase());
$test->addTestCase(new Doctrine_RawSql_TestCase()); $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_FileTestCase());
//$test->addTestCase(new Doctrine_Cache_SqliteTestCase()); //$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