diff --git a/src/Extensions/PaymentExtension.php b/src/Extensions/FinancialExtension.php similarity index 96% rename from src/Extensions/PaymentExtension.php rename to src/Extensions/FinancialExtension.php index 777829a..56a86d7 100644 --- a/src/Extensions/PaymentExtension.php +++ b/src/Extensions/FinancialExtension.php @@ -5,7 +5,7 @@ use Xefi\Faker\Calculators\Iban; use Xefi\Faker\Extensions\Traits\HasLocale; -class PaymentExtension extends Extension +class FinancialExtension extends Extension { use HasLocale; diff --git a/src/FakerServiceProvider.php b/src/FakerServiceProvider.php index 8d3fca2..f18ec72 100644 --- a/src/FakerServiceProvider.php +++ b/src/FakerServiceProvider.php @@ -3,11 +3,11 @@ namespace Xefi\Faker; use Xefi\Faker\Extensions\DateTimeExtension; +use Xefi\Faker\Extensions\FinancialExtension; use Xefi\Faker\Extensions\HashExtension; use Xefi\Faker\Extensions\HtmlExtension; use Xefi\Faker\Extensions\LoremExtension; use Xefi\Faker\Extensions\NumbersExtension; -use Xefi\Faker\Extensions\PaymentExtension; use Xefi\Faker\Extensions\PersonExtension; use Xefi\Faker\Extensions\StringsExtension; use Xefi\Faker\Providers\Provider; @@ -24,7 +24,7 @@ public function boot(): void HashExtension::class, DateTimeExtension::class, PersonExtension::class, - PaymentExtension::class, + FinancialExtension::class, ]); } } diff --git a/tests/Unit/Extensions/PaymentExtensionTest.php b/tests/Unit/Extensions/FinancialExtensionTest.php similarity index 96% rename from tests/Unit/Extensions/PaymentExtensionTest.php rename to tests/Unit/Extensions/FinancialExtensionTest.php index dfcd015..9cba5ed 100644 --- a/tests/Unit/Extensions/PaymentExtensionTest.php +++ b/tests/Unit/Extensions/FinancialExtensionTest.php @@ -5,7 +5,7 @@ use Xefi\Faker\Calculators\Iban; use Xefi\Faker\Tests\Unit\Extensions\TestCase; -final class PaymentExtensionTest extends TestCase +final class FinancialExtensionTest extends TestCase { #[RepeatedTest(5)] public function testIban()