This repository was archived by the owner on Aug 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments