Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
r-kujawa committed Apr 19, 2024
1 parent 7666031 commit e97b0db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Unit/BillableTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
use Payavel\Checkout\Models\Wallet as WalletModel;
use Payavel\Checkout\Tests\TestCase;
use Payavel\Checkout\Tests\User;
use Payavel\Orchestration\Support\ServiceConfig;
use PHPUnit\Framework\Attributes\Test;

class BillableTraitTest extends TestCase
{
#[Test]
public function retrieve_billable_wallets()
{
Config::set('payment.models.' . WalletModel::class, Wallet::class);
ServiceConfig::set('checkout', 'models.' . WalletModel::class, Wallet::class);

$billable = User::factory()
->hasWallets(
Expand Down

0 comments on commit e97b0db

Please sign in to comment.