Skip to content

Commit 1baa893

Browse files
ShradddhaShradddha
authored andcommitted
AC-12092:: Remove Deprecations- PhpUnit10 Unit Tests
1 parent 10f6508 commit 1baa893

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/Translation/Test/Unit/Model/Json/PreProcessorTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,25 +144,25 @@ public function testProcess(array $data, array $expects)
144144
*
145145
* @return array
146146
*/
147-
public static function processDataProvider()
147+
public function processDataProvider()
148148
{
149149
return [
150150
[
151151
[
152152
'area_code' => FrontNameResolver::AREA_CODE
153153
],
154154
[
155-
'areaList_getArea' => self::never(),
156-
'area_load' => self::never(),
155+
'areaList_getArea' => $this->never(),
156+
'area_load' => $this->never(),
157157
]
158158
],
159159
[
160160
[
161161
'area_code' => 'frontend'
162162
],
163163
[
164-
'areaList_getArea' => self::once(),
165-
'area_load' => self::once(),
164+
'areaList_getArea' => $this->once(),
165+
'area_load' => $this->once(),
166166
]
167167
],
168168
];

0 commit comments

Comments
 (0)