File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 7
7
use Illuminate \Foundation \Application ;
8
8
use Illuminate \Foundation \Bootstrap \RegisterFacades ;
9
9
use Illuminate \Foundation \Events \LocaleUpdated ;
10
- use Illuminate \Support \Facades \App ;
11
10
use Illuminate \Support \ServiceProvider ;
12
11
use Mockery as m ;
13
12
use PHPUnit \Framework \TestCase ;
@@ -501,22 +500,22 @@ public function testEnvPathsAreAbsoluteInWindows()
501
500
);
502
501
}
503
502
504
- /** @test */
505
- public function testMacroable (): void
506
- {
507
- $ app = new Application ;
508
- $ app ['env ' ] = 'foo ' ;
503
+ /** @test */
504
+ public function testMacroable (): void
505
+ {
506
+ $ app = new Application ;
507
+ $ app ['env ' ] = 'foo ' ;
509
508
510
- $ app ->macro ('foo ' , function () {
511
- return $ this ->environment ('foo ' );
512
- });
509
+ $ app ->macro ('foo ' , function () {
510
+ return $ this ->environment ('foo ' );
511
+ });
513
512
514
- $ this ->assertTrue ($ app ->foo ());
513
+ $ this ->assertTrue ($ app ->foo ());
515
514
516
- $ app ['env ' ] = 'bar ' ;
515
+ $ app ['env ' ] = 'bar ' ;
517
516
518
- $ this ->assertFalse ($ app ->foo ());
519
- }
517
+ $ this ->assertFalse ($ app ->foo ());
518
+ }
520
519
}
521
520
522
521
class ApplicationBasicServiceProviderStub extends ServiceProvider
You can’t perform that action at this time.
0 commit comments