Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit b74b088

Browse files
committed
Updated to 1.1.6 version
1 parent 491cf92 commit b74b088

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/Database/Test/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testExceptionWhenProviderNotExists() {
122122
*
123123
* @expectedException Josantonius\Database\Exception\DBException
124124
*
125-
* @expectedExceptionMessage Name or service not known
125+
* @expectedExceptionMessageRegExp (Unknown|MySQL|service|not|known)
126126
*
127127
* @return void
128128
*/

tests/Database/Test/CreateTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function testCreateTableQuery($db) {
7171
*
7272
* @expectedException Josantonius\Database\Exception\DBException
7373
*
74-
* @expectedExceptionMessage Syntax error or access violation
74+
* @expectedExceptionMessageRegExp (error|syntax|Syntax)
7575
*
7676
* @return void
7777
*/
@@ -123,7 +123,7 @@ public function testCreateTableMethod($db) {
123123
*
124124
* @expectedException Josantonius\Database\Exception\DBException
125125
*
126-
* @expectedExceptionMessage Syntax error or access violation
126+
* @expectedExceptionMessageRegExp (error|syntax|Syntax)
127127
*
128128
* @return void
129129
*/
@@ -180,7 +180,7 @@ public function testCreateTableAdvancedMethod($db) {
180180
*
181181
* @expectedException Josantonius\Database\Exception\DBException
182182
*
183-
* @expectedExceptionMessage Syntax error or access violation
183+
* @expectedExceptionMessageRegExp (error|syntax|Syntax)
184184
*
185185
* @return void
186186
*/

tests/Database/Test/InsertTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function testInsertQuery_Statements_DataType_ID($db) {
217217
*
218218
* @expectedException Josantonius\Database\Exception\DBException
219219
*
220-
* @expectedExceptionMessage Base table or view not found
220+
* @expectedExceptionMessageRegExp (table|view|not|found|exist|Table)
221221
*
222222
* @return void
223223
*/
@@ -239,7 +239,7 @@ public function testInsertQueryTableNameError($db) {
239239
*
240240
* @expectedException Josantonius\Database\Exception\DBException
241241
*
242-
* @expectedExceptionMessage Column not found
242+
* @expectedExceptionMessageRegExp (Column|not|found|Unknown|column)
243243
*
244244
* @return void
245245
*/
@@ -393,7 +393,7 @@ public function testInsertMethod_Marks_DataType_Rows($db) {
393393
*
394394
* @expectedException Josantonius\Database\Exception\DBException
395395
*
396-
* @expectedExceptionMessage Base table or view not found
396+
* @expectedExceptionMessageRegExp (table|view|not|found|exist|Table)
397397
*
398398
* @return void
399399
*/
@@ -419,7 +419,7 @@ public function testInsertMethodTableNameError($db) {
419419
*
420420
* @expectedException Josantonius\Database\Exception\DBException
421421
*
422-
* @expectedExceptionMessage Column not found
422+
* @expectedExceptionMessageRegExp (Column|not|found|Unknown|column)
423423
*
424424
* @return void
425425
*/

0 commit comments

Comments
 (0)