From 10d1ff97a680a546b119ae6d67b4e70506351f10 Mon Sep 17 00:00:00 2001 From: meus Date: Sat, 10 Nov 2007 13:40:06 +0000 Subject: [PATCH] removing invalid testcase --- models/Ticket589.php | 13 ----------- tests/Ticket/589TestCase.php | 43 ------------------------------------ tests/run.php | 1 - 3 files changed, 57 deletions(-) delete mode 100644 models/Ticket589.php delete mode 100644 tests/Ticket/589TestCase.php diff --git a/models/Ticket589.php b/models/Ticket589.php deleted file mode 100644 index 4dbfe018e..000000000 --- a/models/Ticket589.php +++ /dev/null @@ -1,13 +0,0 @@ -hasColumn('id', 'integer', 4, array('notnull' => true, - 'primary' => true, - 'unsigned' => true, - 'autoincrement' => true)); - $this->hasColumn('name', 'string',50); - } -} diff --git a/tests/Ticket/589TestCase.php b/tests/Ticket/589TestCase.php deleted file mode 100644 index ed39d092c..000000000 --- a/tests/Ticket/589TestCase.php +++ /dev/null @@ -1,43 +0,0 @@ -. - */ - -/** - * Doctrine_Record_TestCase - * - * @package Doctrine - * @author Konsta Vesterinen - * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @category Object Relational Mapping - * @link www.phpdoctrine.com - * @since 1.0 - * @version $Revision$ - */ -class Doctrine_Ticket_589_TestCase extends Doctrine_UnitTestCase -{ - - public function testExportPrimaryIdWithUnsignedWhenDefinedInClass() - { - $sql = $this->conn->export->exportClassesSql(array('Ticket589')); - $this->assertEqual($sql[0], 'CREATE TABLE ticket589 (id INTEGER NOT NULL UNSIGNED PRIMARY KEY AUTOINCREMENT, name VARCHAR(50))'); - - } -} - diff --git a/tests/run.php b/tests/run.php index 1e3fda465..db2ff96b8 100644 --- a/tests/run.php +++ b/tests/run.php @@ -11,7 +11,6 @@ spl_autoload_register(array('DoctrineTest','autoload')); $test = new DoctrineTest(); //TICKET test cases $tickets = new GroupTest('Tickets tests', 'tickets'); -$tickets->addTestCase(new Doctrine_Ticket_589_TestCase()); $tickets->addTestCase(new Doctrine_Ticket_Njero_TestCase()); $tickets->addTestCase(new Doctrine_Ticket_428_TestCase()); $tickets->addTestCase(new Doctrine_Ticket_587_TestCase());