diff --git a/src/Services/ImportExportSystem/EntityExporter.php b/src/Services/ImportExportSystem/EntityExporter.php index 5a3d66bd..5b6765f6 100644 --- a/src/Services/ImportExportSystem/EntityExporter.php +++ b/src/Services/ImportExportSystem/EntityExporter.php @@ -143,8 +143,6 @@ class EntityExporter protected function exportToExcel(array $entities, array $options): string { //First get CSV data using existing serializer - $csvOptions = $options; - $csvOptions['format'] = 'csv'; $groups = [$options['level']]; if ($options['include_children']) { $groups[] = 'include_children'; diff --git a/tests/Services/Parts/PartsTableActionHandlerTest.php b/tests/Services/Parts/PartsTableActionHandlerTest.php index f157420c..c5105cd7 100644 --- a/tests/Services/Parts/PartsTableActionHandlerTest.php +++ b/tests/Services/Parts/PartsTableActionHandlerTest.php @@ -59,12 +59,4 @@ class PartsTableActionHandlerTest extends WebTestCase } } - public function testIdStringToArray(): void - { - // This test would require actual Part entities in the database - // For now, we just test the method exists and handles empty strings - $result = $this->service->idStringToArray(''); - $this->assertIsArray($result); - $this->assertEmpty($result); - } } \ No newline at end of file