Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Oct 8, 2023
1 parent f07538a commit be322f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Concerns/UsesGeneratorOverrides.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ protected function possibleEventsUsingCanvas(): array
*/
abstract protected function rootNamespace();


/**
* Resolve the generator preset.
*/
Expand Down
4 changes: 4 additions & 0 deletions tests/Concerns/UsesGeneratorOverridesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public function it_can_get_qualify_model_class()
$this->assertSame([
'user-model' => 'App\Models\User',
'welcome-view' => $this->app->joinPaths(base_path('resources'.DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'welcome.blade.php')),
'possible-models' => [],
'possible-events' => [],
], $stub->toArray());
}
}
Expand Down Expand Up @@ -50,6 +52,8 @@ public function toArray()
return [
'user-model' => $this->qualifyModelUsingCanvas('User'),
'welcome-view' => $this->viewPathUsingCanvas('welcome.blade.php'),
'possible-models' => $this->possibleModelsUsingCanvas(),
'possible-events' => $this->possibleEventsUsingCanvas(),
];
}

Expand Down

0 comments on commit be322f7

Please sign in to comment.