From 70e305a918fcf193009831d4e89aa8c386df3dc4 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 29 Mar 2016 09:24:08 +0200 Subject: Ported / fixed most old tests --- tests/unit/Data/SqlMap/fixtures/mysql5_reset.sql | 22 ---------------------- tests/unit/Data/SqlMap/fixtures/mysql5_setup.sql | 22 ---------------------- 2 files changed, 44 deletions(-) delete mode 100644 tests/unit/Data/SqlMap/fixtures/mysql5_reset.sql delete mode 100644 tests/unit/Data/SqlMap/fixtures/mysql5_setup.sql (limited to 'tests/unit/Data/SqlMap/fixtures') diff --git a/tests/unit/Data/SqlMap/fixtures/mysql5_reset.sql b/tests/unit/Data/SqlMap/fixtures/mysql5_reset.sql deleted file mode 100644 index 7544ce6b..00000000 --- a/tests/unit/Data/SqlMap/fixtures/mysql5_reset.sql +++ /dev/null @@ -1,22 +0,0 @@ -TRUNCATE TABLE `prado_system_data_sqlmap`.`dynamicparametertest1`; -TRUNCATE TABLE `prado_system_data_sqlmap`.`dynamicparametertest2`; - -INSERT INTO `prado_system_data_sqlmap`.`dynamicparametertest1` ( - `testname` , - `teststring` , - `testinteger` -) -VALUES -('staticsql', 'staticsql1', '1'), -('dynamictable', 'dynamictableparametertest1', '1') -; - -INSERT INTO `prado_system_data_sqlmap`.`dynamicparametertest2` ( - `testname` , - `teststring` , - `testinteger` -) -VALUES -('staticsql', 'staticsql2', '2'), -('dynamictable', 'dynamictableparametertest2', '2') -; diff --git a/tests/unit/Data/SqlMap/fixtures/mysql5_setup.sql b/tests/unit/Data/SqlMap/fixtures/mysql5_setup.sql deleted file mode 100644 index 753b48ac..00000000 --- a/tests/unit/Data/SqlMap/fixtures/mysql5_setup.sql +++ /dev/null @@ -1,22 +0,0 @@ -CREATE DATABASE `prado_system_data_sqlmap` - DEFAULT CHARACTER SET utf8 - COLLATE utf8_general_ci; - -GRANT ALL ON `prado_system_data_sqlmap`.* - TO 'prado_unitest'@'localhost' - IDENTIFIED BY 'prado_system_data_sqlmap_unitest'; - -DROP TABLE IF EXISTS `dynamicparametertest1`; -CREATE TABLE `dynamicparametertest1` ( - `testname` varchar(50) NOT NULL, - `teststring` varchar(50) NOT NULL, - `testinteger` int(11) NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - -DROP TABLE IF EXISTS `dynamicparametertest2`; -CREATE TABLE `dynamicparametertest2` ( - `testname` varchar(50) NOT NULL, - `teststring` varchar(50) NOT NULL, - `testinteger` int(11) NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - -- cgit v1.2.3