File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ public function testMiddlewareReceiveResponsesEvenWhenStringReturned()
356
356
$ response = $ app ->handle (Request::create ('/ ' , 'GET ' ));
357
357
$ this ->assertEquals (200 , $ response ->getStatusCode ());
358
358
$ this ->assertEquals ('Hello World ' , $ response ->getContent ());
359
- $ this ->assertEquals ( true , $ _SERVER ['__middleware.response ' ]);
359
+ $ this ->assertTrue ( $ _SERVER ['__middleware.response ' ]);
360
360
}
361
361
362
362
public function testBasicControllerDispatching ()
@@ -460,7 +460,7 @@ public function testRunningUnitTestsDetection()
460
460
{
461
461
$ app = new Application ;
462
462
463
- $ this ->assertEquals ( false , $ app ->runningUnitTests ());
463
+ $ this ->assertFalse ( $ app ->runningUnitTests ());
464
464
}
465
465
466
466
public function testValidationHelpers ()
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function testDownloadDefaultResponse()
38
38
$ response = $ responseFactory ->download ($ temp );
39
39
40
40
$ this ->assertInstanceOf ('\Symfony\Component\HttpFoundation\Response ' , $ response );
41
- $ this ->assertEquals ( false , $ response ->getContent ());
41
+ $ this ->assertFalse ( $ response ->getContent ());
42
42
$ this ->assertEquals (Response::HTTP_OK , $ response ->getStatusCode ());
43
43
44
44
unlink ($ temp );
You can’t perform that action at this time.
0 commit comments