Skip to content

Commit

Permalink
Fix clover coverage. Exclude routes from coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
noitran committed Jan 26, 2019
1 parent ccbf487 commit 48c4825
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<directory suffix=".php">./src</directory>
<exclude>
<directory>./src/routes</directory>
</exclude>
</whitelist>
</filter>
<php>
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
});
}

Expand Down
File renamed without changes.

0 comments on commit 48c4825

Please sign in to comment.