Skip to content

Commit

Permalink
Added fake authentication code.
Browse files Browse the repository at this point in the history
  • Loading branch information
firebed committed Jun 14, 2024
1 parent 277f290 commit 8e3d730
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Factories/ResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ class ResponseFactory extends Factory
public function definition(): array
{
return [
'index' => 1,
'invoiceUid' => strtoupper(fake()->sha1()),
'invoiceMark' => fake()->numerify("900000#########"),
'index' => 1,
'invoiceUid' => strtoupper(fake()->sha1()),
'authenticationCode' => strtoupper(fake()->sha1()),
'invoiceMark' => fake()->numerify("900000#########"),
'paymentMethodMark' => fake()->numerify("900000#########"),
'qrUrl' => fake()->url(),
'statusCode' => 'Success'
'qrUrl' => fake()->url(),
'statusCode' => 'Success'
];
}

Expand Down

0 comments on commit 8e3d730

Please sign in to comment.