File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ public function testCreateExceptionUnknownColumn() : void
264
264
{
265
265
$ this ->model ->allowedFields [] = 'not-exists ' ;
266
266
$ this ->expectException (\mysqli_sql_exception::class);
267
- $ this ->expectExceptionMessage ("Unknown column 'not-exists' in 'field list ' " );
267
+ $ this ->expectExceptionMessage ("Unknown column 'not-exists' in 'INSERT INTO ' " );
268
268
$ this ->model ->create (['not-exists ' => 'Value ' ]);
269
269
}
270
270
@@ -355,7 +355,7 @@ public function testUpdateExceptionUnknownColumn() : void
355
355
{
356
356
$ this ->model ->allowedFields [] = 'not-exists ' ;
357
357
$ this ->expectException (\mysqli_sql_exception::class);
358
- $ this ->expectExceptionMessage ("Unknown column 'not-exists' in 'field list ' " );
358
+ $ this ->expectExceptionMessage ("Unknown column 'not-exists' in 'SET ' " );
359
359
$ this ->model ->update (1 , ['not-exists ' => 'Value ' ]);
360
360
}
361
361
@@ -373,7 +373,7 @@ public function testReplaceExceptionUnknownColumn() : void
373
373
{
374
374
$ this ->model ->allowedFields [] = 'not-exists ' ;
375
375
$ this ->expectException (\mysqli_sql_exception::class);
376
- $ this ->expectExceptionMessage ("Unknown column 'not-exists' in 'field list ' " );
376
+ $ this ->expectExceptionMessage ("Unknown column 'not-exists' in 'INSERT INTO ' " );
377
377
$ this ->model ->replace (1 , ['not-exists ' => 'Value ' ]);
378
378
}
379
379
You can’t perform that action at this time.
0 commit comments