diff --git a/src/Commands/XtendStarterKit.php b/src/Commands/XtendStarterKit.php index 4f94d86..6b1f859 100644 --- a/src/Commands/XtendStarterKit.php +++ b/src/Commands/XtendStarterKit.php @@ -171,6 +171,14 @@ private function autoDiscoverResources(string $kitPath): void ], 'type' => 'new', ]); + + $this->call('rest-presenter:make-test', [ + 'kit_namespace' => $kitNamespace.'\\'.$resourceNamespace, + 'name' => $resourceName.'ResourceTest', + 'model' => $resource['model'], + 'test_type' => 'feature', + 'type' => 'resource', + ]); } }); }