From 8379f86f0a003699354ae5042e5b2f6b62a91e20 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 5 May 2010 16:27:14 +0200 Subject: [PATCH] Fix table name. --- framework/Db/test/Horde/Db/Adapter/MysqliTest.php | 2 +- framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Db/test/Horde/Db/Adapter/MysqliTest.php b/framework/Db/test/Horde/Db/Adapter/MysqliTest.php index 83cf4928e..4c603883d 100644 --- a/framework/Db/test/Horde/Db/Adapter/MysqliTest.php +++ b/framework/Db/test/Horde/Db/Adapter/MysqliTest.php @@ -363,7 +363,7 @@ class Horde_Db_Adapter_MysqliTest extends PHPUnit_Framework_TestCase $this->_conn->addColumn("users", "moment_of_truth", 'datetime'); $this->_conn->addColumn("users", "male", 'boolean'); - $this->_conn->insert('INSERT INTO USERS (first_name, last_name, bio, age, height, wealth, birthday, favorite_day, moment_of_truth, male, company_id) ' . + $this->_conn->insert('INSERT INTO users (first_name, last_name, bio, age, height, wealth, birthday, favorite_day, moment_of_truth, male, company_id) ' . "VALUES ('bob', 'bobsen', 'I was born ....', 18, 1.78, 12345678901234567890.0123456789, '2005-01-01 12:23:40', '1980-03-05', '1582-10-10 21:40:18', 1, 1)"); $bob = (object)$this->_conn->selectOne('SELECT * FROM users'); diff --git a/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php b/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php index 0cf9eee32..70ab8195e 100644 --- a/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php +++ b/framework/Db/test/Horde/Db/Adapter/Pdo/MysqlTest.php @@ -383,7 +383,7 @@ class Horde_Db_Adapter_Pdo_MysqlTest extends PHPUnit_Framework_TestCase $this->_conn->addColumn("users", "moment_of_truth", 'datetime'); $this->_conn->addColumn("users", "male", 'boolean'); - $this->_conn->insert('INSERT INTO USERS (first_name, last_name, bio, age, height, wealth, birthday, favorite_day, moment_of_truth, male, company_id) ' . + $this->_conn->insert('INSERT INTO users (first_name, last_name, bio, age, height, wealth, birthday, favorite_day, moment_of_truth, male, company_id) ' . "VALUES ('bob', 'bobsen', 'I was born ....', 18, 1.78, 12345678901234567890.0123456789, '2005-01-01 12:23:40', '1980-03-05', '1582-10-10 21:40:18', 1, 1)"); $bob = (object)$this->_conn->selectOne('SELECT * FROM users'); -- 2.11.0