Skip to content

Commit b77dda0

Browse files
ShradddhaShradddha
authored andcommitted
AC-12092:: Remove Deprecations- PhpUnit10 Unit Tests
1 parent f075056 commit b77dda0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/PageBuilder/Test/Unit/Model/Filter/TemplateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testFilter(string $input, string $output): void
6161
/**
6262
* @return array
6363
*/
64-
public function filterProvider(): array
64+
public static function filterProvider(): array
6565
{
6666
return [
6767
[

app/code/Magento/PageBuilder/Test/Unit/Model/Session/RandomKeyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function ($length) {
8484
/**
8585
* @return array[]
8686
*/
87-
public function getValueDataProvider(): array
87+
public static function getValueDataProvider(): array
8888
{
8989
return [
9090
[

app/code/Magento/PageBuilder/Test/Unit/Plugin/ClearEditorConfigCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testAfterLogin(bool $isUseSecretKey): void
7373
/**
7474
* @return array
7575
*/
76-
public function afterLoginDataProvider(): array
76+
public static function afterLoginDataProvider(): array
7777
{
7878
return [
7979
[false],

0 commit comments

Comments
 (0)