diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d9896be..10c89f8 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -172,6 +172,6 @@ if (!defined('SECOND')) { // // Run app migrations on test connection. // ['connection' => 'test'], // // Run plugin migrations on test connection. -// ['plugin' => 'CakeContactUs'], +//// ['plugin' => 'CakeContactUs'], // ['plugin' => 'Captcha'], //]); diff --git a/tests/schema.sql b/tests/schema.sql index 9e644eb..f4e28d6 100644 --- a/tests/schema.sql +++ b/tests/schema.sql @@ -13,3 +13,13 @@ CREATE TABLE `contact_us_form_submissions` `backend_email_sent` datetime DEFAULT NULL, PRIMARY KEY (`id`) ); +CREATE TABLE `captchas` ( + `id` int(11) NOT NULL, + `session_id` varchar(255) NOT NULL, + `ip` varchar(255) NOT NULL, + `image` blob DEFAULT NULL, + `result` varchar(255) DEFAULT NULL, + `created` datetime DEFAULT NULL, + `used` datetime DEFAULT NULL, + PRIMARY KEY (`id`) +);