File tree Expand file tree Collapse file tree 3 files changed +41
-14
lines changed
Expand file tree Collapse file tree 3 files changed +41
-14
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Jaspaul \LaravelRollout ;
4+
5+ use Illuminate \Support \ServiceProvider as IlluminateServiceProvider ;
6+
7+ class ServiceProvider extends IlluminateServiceProvider
8+ {
9+
10+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Tests ;
4+
5+ use Mockery ;
6+ use Jaspaul \LaravelRollout \ServiceProvider ;
7+ use Illuminate \Contracts \Container \Container ;
8+ use Illuminate \Support \ServiceProvider as IlluminateServiceProvider ;
9+
10+ class ServiceProviderTest extends TestCase
11+ {
12+ private $ container ;
13+ private $ serviceProvider ;
14+
15+ /**
16+ * @before
17+ */
18+ function setup_service_provider ()
19+ {
20+ $ this ->container = Mockery::mock (Container::class);
21+ $ this ->serviceProvider = new ServiceProvider ($ this ->container );
22+ }
23+
24+ /**
25+ * @test
26+ */
27+ function ensure_a_service_provider_can_be_constructed ()
28+ {
29+ $ this ->assertInstanceOf (IlluminateServiceProvider::class, $ this ->serviceProvider );
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments