Skip to content

Commit 0c5b459

Browse files
committed
Remove unnecessary parent handle call and update paths in test
1 parent 3593fed commit 0c5b459

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Commands/MakeExportCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class MakeExportCommand extends GeneratorCommand
3636
*/
3737
public function handle(): int
3838
{
39-
dd(parent::handle());
40-
4139
if (parent::handle() === false) {
4240
return self::FAILURE;
4341
}

tests/Feature/Commands/MakeExportCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace BinaryCats\Exportify\Tests\Feature\Commands;
44

55
beforeEach(function () {
6-
$this->app->make('files')->deleteDirectory($this->app->appPath('Exportables'), true);
7-
$this->app->make('files')->deleteDirectory($this->app->basePath('tests'), true);
6+
$this->app->make('files')->deleteDirectory(app_path('Exportables'), true);
7+
$this->app->make('files')->deleteDirectory(base_path('tests'), true);
88
});
99

1010
it('will handle rendering a new exportable', function () {

0 commit comments

Comments
 (0)