Przeglądaj źródła

trying a different approach to get that exception 70 triggered reliably

El RIDO 3 lat temu
rodzic
commit
14075cea78
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tst/ModelTest.php

+ 1 - 1
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();