Skip to content

Commit f4f299d

Browse files
committed
Fixing Unit tests requirements.
1 parent 5ef245e commit f4f299d

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/php-unit.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,22 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- uses: extdn/github-actions-m2/magento-unit-tests/7.4@master
23+
- name: Running Unit Tests over Magento 2.4.4-p9
24+
uses: extdn/github-actions-m2/magento-unit-tests/7.4@master
2425
env:
2526
MAGENTO_VERSION: '2.4.4-p9'
2627

27-
- uses: extdn/github-actions-m2/magento-unit-tests/8.1@master
28+
- name: Running Unit Tests over Magento 2.4.5-p8
29+
uses: extdn/github-actions-m2/magento-unit-tests/8.1@master
2830
env:
2931
MAGENTO_VERSION: '2.4.5-p8'
3032

31-
- uses: extdn/github-actions-m2/magento-unit-tests/8.2@master
33+
- name: Running Unit Tests over Magento 2.4.6-p6
34+
uses: extdn/github-actions-m2/magento-unit-tests/8.2@master
3235
env:
3336
MAGENTO_VERSION: '2.4.6-p6'
3437

35-
- uses: extdn/github-actions-m2/magento-unit-tests/8.2@master
38+
- name: Running Unit Tests over Magento 2.4.7-p1
39+
uses: extdn/github-actions-m2/magento-unit-tests/8.2@master
3640
env:
3741
MAGENTO_VERSION: '2.4.7-p1'

Test/Unit/Service/RateRequestProviderTest.php

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020

2121
class RateRequestProviderTest extends TestCase
2222
{
23+
public function __construct(
24+
?string $name = null,
25+
array $data = [],
26+
$dataName = ''
27+
) {
28+
parent::__construct((string) $name, $data, $dataName);
29+
}
30+
2331
/**
2432
* @var RateRequestProvider
2533
*/

0 commit comments

Comments
 (0)