File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/system/Database/Builder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ public function testInsertBatchThrowsExceptionOnNoData()
265
265
$ builder = $ this ->db ->table ('jobs ' );
266
266
267
267
$ this ->expectException (DatabaseException::class);
268
- $ this ->expectExceptionMessage ('You must use the "set" method to update an entry . ' );
268
+ $ this ->expectExceptionMessage ('No data availble to process . ' );
269
269
$ builder ->insertBatch ();
270
270
}
271
271
@@ -274,7 +274,7 @@ public function testInsertBatchThrowsExceptionOnEmptyData()
274
274
$ builder = $ this ->db ->table ('jobs ' );
275
275
276
276
$ this ->expectException (DatabaseException::class);
277
- $ this ->expectExceptionMessage ('insertBatch () called with no data ' );
277
+ $ this ->expectExceptionMessage ('setData () has no data. ' );
278
278
$ builder ->insertBatch ([]);
279
279
}
280
280
}
You can’t perform that action at this time.
0 commit comments