diff --git a/tests/Feature/DeepfaceTest.php b/tests/Feature/DeepfaceTest.php index 685cb40..f5f348b 100644 --- a/tests/Feature/DeepfaceTest.php +++ b/tests/Feature/DeepfaceTest.php @@ -6,8 +6,8 @@ use Astrotomic\DeepFace\Enums\Race; use PHPUnit\Framework\Assert; -describe('analyze', function ():void { - it('analyzes: img1', function ():void { +describe('analyze', function (): void { + it('analyzes: img1', function (): void { $img = $this->image('img1.jpg'); $results = $this->deepface()->analyze($img); diff --git a/tests/TestCase.php b/tests/TestCase.php index bcebab6..7622a90 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,11 +9,11 @@ abstract class TestCase extends BaseTestCase { protected function deepface(): DeepFace { - return new DeepFace(); + return new DeepFace; } protected function image(string $img): string { - return realpath(__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures'. DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . $img); + return realpath(__DIR__.DIRECTORY_SEPARATOR.'Fixtures'.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.$img); } }