cvs: pear /MDB2/tests MDB2_manager_testcase.php

From: Date: Sun, 04 Mar 2007 20:03:31 +0000
Subject: cvs: pear /MDB2/tests MDB2_manager_testcase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44949@lists.php.net to get a copy of this message
quipo Sun Mar 4 20:03:31 2007 UTC Modified files: /pear/MDB2/tests MDB2_manager_testcase.php Log: unique index => constraint http://cvs.php.net/viewvc.cgi/pear/MDB2/tests/MDB2_manager_testcase.php?r1=1.53&r2=1.54&diff_format=u Index: pear/MDB2/tests/MDB2_manager_testcase.php diff -u pear/MDB2/tests/MDB2_manager_testcase.php:1.53 pear/MDB2/tests/MDB2_manager_testcase.php:1.54 --- pear/MDB2/tests/MDB2_manager_testcase.php:1.53 Tue Dec 19 22:52:00 2006 +++ pear/MDB2/tests/MDB2_manager_testcase.php Sun Mar 4 20:03:31 2007 @@ -2,7 +2,7 @@ // +----------------------------------------------------------------------+ // | PHP versions 4 and 5 | // +----------------------------------------------------------------------+ -// | Copyright (c) 1998-2006 Manuel Lemos, Paul Cooper, Lorenzo Alberton | +// | Copyright (c) 1998-2007 Manuel Lemos, Paul Cooper, Lorenzo Alberton | // | All rights reserved. | // +----------------------------------------------------------------------+ // | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB | @@ -42,7 +42,7 @@ // | Lorenzo Alberton <l dot alberton at quipo dot it> | // +----------------------------------------------------------------------+ // -// $Id: MDB2_manager_testcase.php,v 1.53 2006/12/19 22:52:00 quipo Exp $ +// $Id: MDB2_manager_testcase.php,v 1.54 2007/03/04 20:03:31 quipo Exp $ require_once 'MDB2_testcase.php'; @@ -328,7 +328,7 @@ $name = 'uniqueindex'; $result = $this->db->manager->createConstraint($this->table, $name, $index); if (PEAR::isError($result)) { - $this->assertFalse(true, 'Error creating unique index'); + $this->assertFalse(true, 'Error creating unique constraint'); } else { $constraints = $this->db->manager->listTableConstraints($this->table); $this->assertFalse(PEAR::isError($constraints), 'Error listing constraints');

« previous php.pear.cvs (#44949) next »