diff --git a/phpunit.xml b/phpunit.xml index 7e35ae6..8eb94d6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -16,7 +16,10 @@ - src/ + ./src + + ./src/routes + diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 902e985..2214f48 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -45,7 +45,7 @@ public function boot() $this->publishes([$configPath => $publishPath], 'config'); $this->app->router->group(['namespace' => 'Noitran\Opendox'], function ($router) { - require __DIR__.'/routes.php'; + require __DIR__.'/routes/routes.php'; }); } diff --git a/src/routes.php b/src/routes/routes.php similarity index 100% rename from src/routes.php rename to src/routes/routes.php