From 98e52e467ded49b7177c585a97cca33fdf23dee2 Mon Sep 17 00:00:00 2001 From: inxilpro Date: Thu, 14 Sep 2023 02:11:32 +0000 Subject: [PATCH] Fix styling --- examples/Bank/tests/BankAccountTest.php | 1 - tests/Pest.php | 16 ++++++++-------- tests/TestCase.php | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/examples/Bank/tests/BankAccountTest.php b/examples/Bank/tests/BankAccountTest.php index 4007821a..97e542c3 100644 --- a/examples/Bank/tests/BankAccountTest.php +++ b/examples/Bank/tests/BankAccountTest.php @@ -1,6 +1,5 @@ all(); uses(TestCase::class) - ->beforeEach(function() { - $registry = app(ModuleRegistry::class); - $reflection = new \ReflectionClass($registry); - $property = $reflection->getProperty('modules_path'); - $property->setAccessible(true); - $property->setValue($registry, realpath(__DIR__.'/../examples')); - }) - ->in(__DIR__, ...$examples); + ->beforeEach(function () { + $registry = app(ModuleRegistry::class); + $reflection = new \ReflectionClass($registry); + $property = $reflection->getProperty('modules_path'); + $property->setAccessible(true); + $property->setValue($registry, realpath(__DIR__.'/../examples')); + }) + ->in(__DIR__, ...$examples); diff --git a/tests/TestCase.php b/tests/TestCase.php index d8383e24..c55fb3d9 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -22,7 +22,7 @@ protected function getPackageProviders($app) { return [ VerbsServiceProvider::class, - ModularServiceProvider::class, + ModularServiceProvider::class, ]; }