From 277f290efce9a15d7f6ff8c5f9a4c5beb4ac6b57 Mon Sep 17 00:00:00 2001 From: Okan Date: Fri, 14 Jun 2024 21:55:08 +0300 Subject: [PATCH] Changed fake invoice uid to uppercase. --- src/Factories/ResponseFactory.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Factories/ResponseFactory.php b/src/Factories/ResponseFactory.php index b409590..6d7c5a9 100644 --- a/src/Factories/ResponseFactory.php +++ b/src/Factories/ResponseFactory.php @@ -13,9 +13,9 @@ public function definition(): array { return [ 'index' => 1, - 'invoiceUid' => fake()->sha1(), - 'invoiceMark' => fake()->numerify("800000#########"), - 'paymentMethodMark' => fake()->numerify("800000#########"), + 'invoiceUid' => strtoupper(fake()->sha1()), + 'invoiceMark' => fake()->numerify("900000#########"), + 'paymentMethodMark' => fake()->numerify("900000#########"), 'qrUrl' => fake()->url(), 'statusCode' => 'Success' ]; @@ -24,7 +24,7 @@ public function definition(): array public function cancelled(): self { return $this->state([ - 'cancellationMark' => fake()->numerify("800000#########") + 'cancellationMark' => fake()->numerify("900000#########") ])->except([ 'index', 'invoiceUid',