Skip to content

Commit 0905639

Browse files
committed
Updated coverage for make:baum
2 parents e9251b2 + 2b5bd95 commit 0905639

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/Baum/Console/ModelMakeCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ protected function getStub()
142142
// return $this->option('pivot')
143143
// ? $this->resolveStubPath('/stubs/model.pivot.stub')
144144
// : $this->resolveStubPath('/stubs/baum.stub');
145-
return $this->resolveStubPath('/stubs/baum.stub');
145+
return $this->resolveStubPath('/stubs/baum.stub');
146146
}
147147

148148
/**

src/Baum/Providers/BaumServiceProvider.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
namespace Baum\Providers;
44

5-
use Baum\Console\InstallCommand;
6-
use Baum\Generators\MigrationGenerator;
7-
use Baum\Generators\ModelGenerator;
85
use Illuminate\Support\ServiceProvider;
96

107
class BaumServiceProvider extends ServiceProvider
@@ -14,7 +11,8 @@ class BaumServiceProvider extends ServiceProvider
1411
*
1512
* @return void
1613
*/
17-
public function boot() {
14+
public function boot()
15+
{
1816

1917
// Load Commands
2018
if ($this->app->runningInConsole()) {

tests/Basic/BasicBaumTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -260,5 +260,4 @@ public function makeBaumTest()
260260
->assertExitCode(0);
261261

262262
}
263-
264263
}

0 commit comments

Comments
 (0)