mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
Tests: Remove the formatting
group from wp_is_numeric_array()
tests.
Similar to `wp_array_slice_assoc()` or other array-related functions, this appears to be a general-purpose function unrelated to the Formatting component. Add missing `public` visibility keyword. Follow-up to [52037]. See #53971. git-svn-id: https://develop.svn.wordpress.org/trunk@52048 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e04f4dd82
commit
31e9247872
@ -1,11 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @group formatting
|
||||
* @group functions.php
|
||||
* @covers ::wp_is_numeric_array
|
||||
*/
|
||||
class Tests_Functions_WpIsNumericArray extends WP_UnitTestCase {
|
||||
class Tests_Functions_wpIsNumericArray extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @dataProvider data_wp_is_numeric_array
|
||||
@ -15,7 +14,7 @@ class Tests_Functions_WpIsNumericArray extends WP_UnitTestCase {
|
||||
* @param mixed $input Input to test.
|
||||
* @param array $expected Expected result.
|
||||
*/
|
||||
function test_wp_is_numeric_array( $input, $expected ) {
|
||||
public function test_wp_is_numeric_array( $input, $expected ) {
|
||||
$this->assertSame( $expected, wp_is_numeric_array( $input ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user