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

@@ -19,9 +19,7 @@ class LoggerFactoryTest extends TestCase
$this->factory = new LoggerFactory();
}
/**
* @test
*/
/** @test */
public function serviceIsCreated()
{
/** @var Logger $instance */
@@ -30,9 +28,7 @@ class LoggerFactoryTest extends TestCase
$this->assertEquals('Logger', $instance->getName());
}
/**
* @test
*/
/** @test */
public function nameIsSetFromOptions()
{
/** @var Logger $instance */
@@ -41,9 +37,7 @@ class LoggerFactoryTest extends TestCase
$this->assertEquals('Foo', $instance->getName());
}
/**
* @test
*/
/** @test */
public function serviceNameOverwritesOptionsLoggerName()
{
/** @var Logger $instance */