Skip to content

Commit 90fadfa

Browse files
committed
.
1 parent 9844c08 commit 90fadfa

File tree

5 files changed

+5
-127
lines changed

5 files changed

+5
-127
lines changed

tests/Commands/GenerateInterfaceUnionsCommandTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44

55
use SynergiTech\ExportTypes\Tests\TestCase;
66

7-
// use Illuminate\Testing\PendingCommand;
8-
// use Symfony\Component\Console\Command\Command as SymfonyCommand;
7+
use Illuminate\Testing\PendingCommand;
8+
use Symfony\Component\Console\Command\Command as SymfonyCommand;
99

1010
class GenerateInterfaceUnionsCommandTest extends TestCase
1111
{
1212
public function testCommandExports(): void
13-
{
14-
$this->markTestSkipped('Requires implementation.');
15-
/* $command = $this->artisan('laravel-magic-enums:generate --input=app/Enums --output=enums');
13+
{
14+
$command = $this->artisan('export-interface-unions:generate:generate --input=app/models --output=models');
1615
$this->assertInstanceOf(PendingCommand::class, $command);
1716
$result = $command->run();
1817
$this->assertSame(SymfonyCommand::SUCCESS, $result);
19-
$this->assertFileExists('./enums/index.js'); */
18+
$this->assertFileExists('./models/index.ts');
2019
}
2120
}

workbench/app/Enums/CustomEnum.php

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

workbench/app/Enums/EnumWithSpaces.php

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

workbench/app/Enums/TestingEnum.php

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

workbench/app/Traits/CustomMagic.php

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

0 commit comments

Comments
 (0)