Ticket #36679: 36679.diff
File 36679.diff, 615 bytes (added by , 9 years ago) |
---|
-
tests/phpunit/includes/testcase.php
412 412 $this->assertEquals( $expected, $actual ); 413 413 } 414 414 415 /** 416 * Coerce WordPress' query internals as if the given URL has been requested. 417 * 418 * @param string $url The URL for the request. 419 */ 415 420 function go_to( $url ) { 416 421 // note: the WP and WP_Query classes like to silently fetch parameters 417 422 // from all over the place (globals, GET, etc), which makes it tricky