Skip to content

Commit

Permalink
Address provider-related test warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Apr 29, 2024
1 parent bba13cd commit b97b8d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/WP_SQLite_PDO_User_Defined_Functions_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function testFieldFunction( $expected, $args ) {
);
}

public function dataProviderForTestFieldFunction() {
public static function dataProviderForTestFieldFunction() {
return array(
array( 1, array( 'a', 'a' ) ),
array( 2, array( 'User 0000019', 'User 0000018', 'User 0000019', 'User 0000020' ) ),
Expand Down
2 changes: 1 addition & 1 deletion tests/WP_SQLite_Translator_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function testRegexps( $operator, $regexp, $expected_result ) {
);
}

public function regexpOperators() {
public static function regexpOperators() {
$lowercase_rss = (object) array(
'ID' => '1',
'option_name' => 'rss_123',
Expand Down

0 comments on commit b97b8d2

Please sign in to comment.