File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -159,11 +159,6 @@ public function getCurrencyAttribute(): string
159159 return $ this ->meta ['currency ' ] ?? Str::upper ($ this ->slug );
160160 }
161161
162- protected function initializeMorphOneWallet (): void
163- {
164- $ this ->uuid = app (UuidFactoryServiceInterface::class)->uuid4 ();
165- }
166-
167162 /**
168163 * returns all the receiving transfers to this wallet.
169164 *
@@ -173,4 +168,9 @@ public function receivedTransfers(): HasMany
173168 {
174169 return $ this ->hasMany (config ('wallet.transfer.model ' , Transfer::class), 'to_id ' );
175170 }
171+
172+ protected function initializeMorphOneWallet (): void
173+ {
174+ $ this ->uuid = app (UuidFactoryServiceInterface::class)->uuid4 ();
175+ }
176176}
Original file line number Diff line number Diff line change 1313use Bavix \Wallet \Test \Infra \Factories \ItemDiscountFactory ;
1414use Bavix \Wallet \Test \Infra \Models \Buyer ;
1515use Bavix \Wallet \Test \Infra \Models \ItemDiscount ;
16- use Bavix \Wallet \Test \Infra \TestCase ;
1716use Bavix \Wallet \Test \Infra \PackageModels \Transaction as InfraTransaction ;
1817use Bavix \Wallet \Test \Infra \PackageModels \Wallet as InfraWallet ;
18+ use Bavix \Wallet \Test \Infra \TestCase ;
1919
2020/**
2121 * @internal
You can’t perform that action at this time.
0 commit comments