Skip to content

Commit a06a1e5

Browse files
committed
tests: Make data provider a static method
Per T332865, we started making data providers static methods in our code bases. Do the same here. Change-Id: Ic8b32a8f1b660c042586d43d5cc6dc5f57de7c6b
1 parent f100e7f commit a06a1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestingAccessWrapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testConstant( $expected, $constName ) {
4646
);
4747
}
4848

49-
public function constantProvider() {
49+
public static function constantProvider() {
5050
return [
5151
[ 'constant', 'CONSTANT' ],
5252
[ 'private constant', 'PRIVATE_CONSTANT' ],

0 commit comments

Comments
 (0)