From 14075cea78ddd569322dc7a5fa5910cbc429f4d4 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 6 Nov 2022 07:53:43 +0100 Subject: [PATCH] trying a different approach to get that exception 70 triggered reliably --- tst/ModelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/ModelTest.php b/tst/ModelTest.php index dbbbbc2..5813d85 100644 --- a/tst/ModelTest.php +++ b/tst/ModelTest.php @@ -270,7 +270,7 @@ class ModelTest extends PHPUnit_Framework_TestCase $options['model_options']['pwd'], $options['model_options']['opt'] ); - $statement = $db->prepare('DROP TABLE comment'); + $statement = $db->prepare('ALTER TABLE comment DROP COLUMN data'); $statement->execute(); $statement->closeCursor();