cvs: pear /DB/tests/driver 10errormap.phpt
| From: | Daniel Convissor | Date: | Thu, 29 Apr 2004 23:19:17 +0000 |
| Subject: | cvs: pear /DB/tests/driver 10errormap.phpt | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18996@lists.php.net to get a copy of this message | ||
danielc Thu Apr 29 19:19:17 2004 EDT
Modified files:
/pear/DB/tests/driver 10errormap.phpt
Log:
Add test for deletion of foreign key.
http://cvs.php.net/diff.php/pear/DB/tests/driver/10errormap.phpt?r1=1.8&r2=1.9&ty=u
Index: pear/DB/tests/driver/10errormap.phpt
diff -u pear/DB/tests/driver/10errormap.phpt:1.8 pear/DB/tests/driver/10errormap.phpt:1.9
--- pear/DB/tests/driver/10errormap.phpt:1.8 Thu Feb 19 02:18:28 2004
+++ pear/DB/tests/driver/10errormap.phpt Thu Apr 29 19:19:17 2004
@@ -22,7 +22,9 @@
DB Error: constraint violation
Trying to provoke DB_ERROR_CONSTRAINT for unique key update duplicate
DB Error: constraint violation
-Trying to provoke DB_ERROR_CONSTRAINT for foreign key
+Trying to provoke DB_ERROR_CONSTRAINT for foreign key on insert
+ DB Error: constraint violation
+Trying to provoke DB_ERROR_CONSTRAINT for foreign key on delete
DB Error: constraint violation
Trying to provoke DB_ERROR_CONSTRAINT_NOT_NULL on insert
DB Error: null value violates not-null constraint