Changeset 54148 for trunk/tests/phpunit/tests/functions/wpGuessUrl.php
- Timestamp:
- 09/13/2022 08:38:56 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpGuessUrl.php
r54146 r54148 12 12 * @ticket 36827 13 13 * 14 * @dataProvider data_ guess_url_should_return_site_url14 * @dataProvider data_wp_guess_url_should_return_site_url 15 15 * 16 16 * @param string $url The URL to navigate to, relative to `site_url()`. 17 17 */ 18 public function test_ guess_url_should_return_site_url( $url ) {18 public function test_wp_guess_url_should_return_site_url( $url ) { 19 19 $siteurl = site_url(); 20 20 $this->go_to( site_url( $url ) ); … … 27 27 * @return array 28 28 */ 29 function data_guess_url_should_return_site_url() {29 public function data_wp_guess_url_should_return_site_url() { 30 30 return array( 31 31 'no trailing slash' => array( 'url' => 'wp-admin' ),
Note: See TracChangeset
for help on using the changeset viewer.