mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Applied CS fixer
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace tests\unit\Entity\Source;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
@@ -6,15 +7,11 @@ use App\Entity\Source\NameSourceInterface;
|
||||
use App\Entity\Source\NameSource;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
class NameSourceTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
* @var NameSourceInterface
|
||||
*/
|
||||
protected $nameSource;
|
||||
@@ -23,12 +20,12 @@ class NameSourceTest extends TestCase
|
||||
{
|
||||
$this->nameSource = new NameSource();
|
||||
}
|
||||
|
||||
public function testName():void{
|
||||
|
||||
public function testName(): void
|
||||
{
|
||||
$this->assertEquals('', $this->nameSource->getName());
|
||||
$name = 'Hello World!';
|
||||
$this->nameSource->setName($name);
|
||||
$this->assertEquals($name, $this->nameSource->getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user