Skip to content

Commit

Permalink
Improve test coverage (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianogoldman authored Nov 30, 2024
1 parent 5268925 commit 0991f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions tests/MercadoPagoApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ public function setUp(): void
);
}

protected function getEnvironmentSetUp($app)
{
$app['config']->set('mercadopago.client_id', env('MERCADOPAGO_API_CLIENT_ID'));
$app['config']->set('mercadopago.client_secret', env('MERCADOPAGO_API_CLIENT_SECRET'));
}

/**
* @return void
* @throws RequestException
Expand Down
3 changes: 2 additions & 1 deletion tests/PaymentPreferenceBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function create_order_with_int_amount()
->title('My custom product')
->unitPrice(23.206)
->currency('ARS')
->quantity(2)
->make()
->payerFirstName('John')
->payerLastName('Lennon')
Expand All @@ -36,7 +37,7 @@ public function create_order_with_int_amount()
'items' => [
[
'title' => 'My custom product',
'quantity' => 1,
'quantity' => 2,
'unit_price' => 23.21,
'currency' => 'ARS',
],
Expand Down

0 comments on commit 0991f88

Please sign in to comment.