From 3309470fba9904784d01c1905082fd7deb1ccca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wr=C3=B3blewski?= Date: Wed, 6 Nov 2024 16:57:12 +0100 Subject: [PATCH] Apply php-cs-fixer and fix broken tests --- src/Util/ArrayUtil.php | 2 +- tests/Unit/DataTableBuilderTest.php | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Util/ArrayUtil.php b/src/Util/ArrayUtil.php index e303c283..4e4ee9ac 100644 --- a/src/Util/ArrayUtil.php +++ b/src/Util/ArrayUtil.php @@ -50,4 +50,4 @@ public static function ksort(array $array, int $flags = SORT_REGULAR): array return $copy; } -} \ No newline at end of file +} diff --git a/tests/Unit/DataTableBuilderTest.php b/tests/Unit/DataTableBuilderTest.php index f18ea2ba..d9837dfc 100644 --- a/tests/Unit/DataTableBuilderTest.php +++ b/tests/Unit/DataTableBuilderTest.php @@ -733,13 +733,6 @@ public function testGetDataTableResolvesExporters() $this->assertEquals($expectedExporters, $dataTable->getExporters()); } - public function testGetDataTableInitializesDataTable() - { - $dataTable = $this->createBuilder()->getDataTable(); - - $this->assertTrue($this->getPrivatePropertyValue($dataTable, 'initialized')); - } - private function createBuilder(): DataTableBuilder { return new DataTableBuilder(