Skip to content

Commit

Permalink
test for ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
bencagri committed May 22, 2024
1 parent d532462 commit 760e814
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
php: [ 8.1, 8.2, 8.3 ]
os: [ ubuntu-20.04 ]
os: [ ubuntu-latest ]

steps:
- name: Checkout
Expand All @@ -27,7 +27,7 @@ jobs:
run: php -v

- name: Composer Install
run: composer install --prefer-dist --ignore-platform-reqs
run: composer install --prefer-dist --no-cache

- name: PHP Spec
uses: php-actions/phpspec@master
Expand Down
2 changes: 1 addition & 1 deletion spec/Service/Payment/SubscriptionServiceSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function let()
$config = new OderoConfig('MY Store Name', 'merchantId', 'token');
$oderoClient = new OderoClient($config);

$client = new MockHttpClient();
@$client = new MockHttpClient();
$http = new HttpClient($client);


Expand Down
1 change: 0 additions & 1 deletion src/Service/BaseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Oderopay\OderoClient;
use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
use Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface;
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;

class BaseService
{
Expand Down

0 comments on commit 760e814

Please sign in to comment.