Reduced amount of dead lines in tests

This commit is contained in:
Alejandro Celaya
2019-02-17 20:28:34 +01:00
parent 1bcd03b150
commit 687a1cc9c7
100 changed files with 481 additions and 938 deletions

View File

@@ -24,9 +24,7 @@ class CrossDomainMiddlewareTest extends TestCase
$this->delegate = $this->prophesize(RequestHandlerInterface::class);
}
/**
* @test
*/
/** @test */
public function nonCrossDomainRequestsAreNotAffected()
{
$originalResponse = new Response();
@@ -40,9 +38,7 @@ class CrossDomainMiddlewareTest extends TestCase
$this->assertArrayNotHasKey('Access-Control-Allow-Headers', $headers);
}
/**
* @test
*/
/** @test */
public function anyRequestIncludesTheAllowAccessHeader()
{
$originalResponse = new Response();
@@ -59,9 +55,7 @@ class CrossDomainMiddlewareTest extends TestCase
$this->assertArrayNotHasKey('Access-Control-Allow-Headers', $headers);
}
/**
* @test
*/
/** @test */
public function optionsRequestIncludesMoreHeaders()
{
$originalResponse = new Response();