We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257ed43 commit 2118219Copy full SHA for 2118219
tests/Functional/Schema/CreateIndexTest.php
@@ -221,7 +221,11 @@ public function addCheckConstraints(): void
221
foreach ($this->provideWrongData() as [$period_type_id, $period_start, $period_end]) {
222
$data = compact('period_type_id', 'period_start', 'period_end');
223
$this->expectException(QueryException::class);
224
- DB::table('test_table')->insert($data);
+ try {
225
+ DB::table('test_table')->insert($data);
226
+ } catch (\Throwable $e) {
227
+ echo class_basename($e) . PHP_EOL;
228
+ }
229
}
230
231
0 commit comments