Skip to content

Commit fefb95e

Browse files
committed
remove tabs test
1 parent c11aa62 commit fefb95e

File tree

3 files changed

+0
-58
lines changed

3 files changed

+0
-58
lines changed

tests/Util/ClassSourceManipulatorTest.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -624,26 +624,6 @@ public function getAddOneToOneRelationTests(): \Generator
624624
];
625625
}
626626

627-
public function testGenerationWithTabs(): void
628-
{
629-
$source = file_get_contents(__DIR__.'/fixtures/source/ProductWithTabs.php');
630-
$expectedSource = file_get_contents(__DIR__.'/fixtures/with_tabs/ProductWithTabs.php');
631-
632-
$manipulator = new ClassSourceManipulator($source);
633-
634-
$attribute = $manipulator->buildAttributeNode(Column::class, ['type' => 'string', 'length' => 255], 'ORM');
635-
636-
$method = (new \ReflectionObject($manipulator))->getMethod('addProperty');
637-
$method->setAccessible(true);
638-
$method->invoke($manipulator, name: 'name', attributes: [$attribute]);
639-
640-
$method = (new \ReflectionObject($manipulator))->getMethod('addGetter');
641-
$method->setAccessible(true);
642-
$method->invoke($manipulator, 'id', 'int', false);
643-
644-
$this->assertSame($expectedSource, $manipulator->getSourceCode());
645-
}
646-
647627
public function testAddInterface(): void
648628
{
649629
$source = file_get_contents(__DIR__.'/fixtures/source/User_simple.php');

tests/Util/fixtures/source/ProductWithTabs.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

tests/Util/fixtures/with_tabs/ProductWithTabs.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)