Changeset 55562 for trunk/tests/phpunit/tests/meta/isProtectedMeta.php
- Timestamp:
- 03/19/2023 12:03:30 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/meta/isProtectedMeta.php
r54896 r55562 8 8 9 9 /** 10 * @dataProvider protected_data10 * @dataProvider data_is_protected_meta_true 11 11 */ 12 public function test_ protected( $key ) {12 public function test_is_protected_meta_true( $key ) { 13 13 $this->assertTrue( is_protected_meta( $key ) ); 14 14 } 15 15 16 public function protected_data() {16 public function data_is_protected_meta_true() { 17 17 $protected_keys = array( 18 18 array( '_wp_attachment' ), … … 30 30 31 31 /** 32 * @dataProvider unprotected_data32 * @dataProvider data_is_protected_meta_false 33 33 */ 34 public function test_ unprotected( $key ) {34 public function test_is_protected_meta_false( $key ) { 35 35 $this->assertFalse( is_protected_meta( $key ) ); 36 36 } 37 37 38 public function unprotected_data() {38 public function data_is_protected_meta_false() { 39 39 $unprotected_keys = array( 40 40 array( 'singleword' ),
Note: See TracChangeset
for help on using the changeset viewer.