From 9cec01ee864fcb4c4cc6bce0c7cc45692a3c736c Mon Sep 17 00:00:00 2001 From: kfriars Date: Mon, 19 Aug 2024 15:53:47 +0000 Subject: [PATCH] Fix styling --- tests/Suites/Feature/History/HistoryTest.php | 4 ++-- tests/Suites/Regression/IndexesTest.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/Suites/Feature/History/HistoryTest.php b/tests/Suites/Feature/History/HistoryTest.php index 09acb64..1572f09 100644 --- a/tests/Suites/Feature/History/HistoryTest.php +++ b/tests/Suites/Feature/History/HistoryTest.php @@ -513,13 +513,13 @@ describe('History Labeling handles bad configuration and arguments', function () { it('exists early when no model is provided', function () { - $labeler = new LabelHistory(); + $labeler = new LabelHistory; expect($labeler->handle(new TableCopied('images', null, null)))->not->toThrow(LabelingException::class); }); it('throws an exception when trying to label non-versioned models', function () { - $labeler = new LabelHistory(); + $labeler = new LabelHistory; $labeler->handle(new TableCopied('images', null, Image::class)); })->throws(LabelingException::class); diff --git a/tests/Suites/Regression/IndexesTest.php b/tests/Suites/Regression/IndexesTest.php index be31498..52edd31 100644 --- a/tests/Suites/Regression/IndexesTest.php +++ b/tests/Suites/Regression/IndexesTest.php @@ -15,7 +15,7 @@ }); it('can drop named indexes from tables', function () { - $tableName = (new Document())->getTable(); + $tableName = (new Document)->getTable(); $indexes = Collection::wrap(DB::select("PRAGMA index_list('$tableName')")); expect($indexes)->toHaveCount(2); @@ -31,7 +31,7 @@ versions()->setActive(createFirstVersion('schema/create')); - $tableName = (new Document())->getTable(); + $tableName = (new Document)->getTable(); $indexes = Collection::wrap(DB::select("PRAGMA index_list('$tableName')")); expect($indexes)->toHaveCount(2); @@ -56,7 +56,7 @@ }); it('can drop computed indexes from tables', function () { - $tableName = (new Document())->getTable(); + $tableName = (new Document)->getTable(); $indexes = Collection::wrap(DB::select("PRAGMA index_list('$tableName')")); expect($indexes)->toHaveCount(2); expect($indexes->pluck('name'))->toContain($tableName.'_released_at_index'); @@ -71,7 +71,7 @@ versions()->setActive(createFirstVersion('schema/create')); - $tableName = (new Document())->getTable(); + $tableName = (new Document)->getTable(); $indexes = Collection::wrap(DB::select("PRAGMA index_list('$tableName')")); expect($indexes)->toHaveCount(2);