mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Set $_SERVER['REQUEST_METHOD'] for unit tests.
Props johnbillion. Fixes #32636. git-svn-id: https://develop.svn.wordpress.org/trunk@32785 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -10,8 +10,6 @@ class Tests_Auth extends WP_UnitTestCase {
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
$this->user_id = $this->factory->user->create();
|
||||
|
||||
$_SERVER['REQUEST_METHOD'] = null;
|
||||
}
|
||||
|
||||
function test_auth_cookie_valid() {
|
||||
|
||||
Reference in New Issue
Block a user