Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit 1fd56ea

Browse files
committed
fix: use updated glocurrency/middleware-blocks
1 parent 01fea60 commit 1fd56ea

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"brokeyourbike/base-models": "^0.3.0",
1717
"brokeyourbike/country-casts-laravel": "^0.1.0",
1818
"brokeyourbike/has-source-model": "^2.0",
19-
"glocurrency/middleware-blocks": "^0.3.0",
19+
"glocurrency/middleware-blocks": "^0.4.0",
2020
"illuminate/contracts": "^8.0|^9.0",
2121
"illuminate/database": "^8.0|^9.0"
2222
},

database/factories/TransactionFactory.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ class TransactionFactory extends Factory
2626
*/
2727
public function definition()
2828
{
29-
$transactionModel = Bancore::$transactionModel;
30-
$processingItemModel = Bancore::$processingItemModel;
31-
3229
return [
3330
'id' => $this->faker->uuid(),
34-
'transaction_id' => $transactionModel::factory(),
35-
'processing_item_id' => $processingItemModel::factory(),
31+
'transaction_id' => (Bancore::$transactionModel)::factory(),
32+
'processing_item_id' => (Bancore::$processingItemModel)::factory(),
3633
'bancore_sender_id' => Sender::factory(),
3734
'bancore_recipient_id' => Recipient::factory(),
3835
'identifier_source_type' => Bank::class,

0 commit comments

Comments
 (0)