This repository was archived by the owner on May 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 16
16
"brokeyourbike/base-models" : " ^0.3.0" ,
17
17
"brokeyourbike/country-casts-laravel" : " ^0.1.0" ,
18
18
"brokeyourbike/has-source-model" : " ^2.0" ,
19
- "glocurrency/middleware-blocks" : " ^0.3 .0" ,
19
+ "glocurrency/middleware-blocks" : " ^0.4 .0" ,
20
20
"illuminate/contracts" : " ^8.0|^9.0" ,
21
21
"illuminate/database" : " ^8.0|^9.0"
22
22
},
Original file line number Diff line number Diff line change @@ -26,13 +26,10 @@ class TransactionFactory extends Factory
26
26
*/
27
27
public function definition ()
28
28
{
29
- $ transactionModel = Bancore::$ transactionModel ;
30
- $ processingItemModel = Bancore::$ processingItemModel ;
31
-
32
29
return [
33
30
'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 (),
36
33
'bancore_sender_id ' => Sender::factory (),
37
34
'bancore_recipient_id ' => Recipient::factory (),
38
35
'identifier_source_type ' => Bank::class,
You can’t perform that action at this time.
0 commit comments