Merge "Pass the user and request into BlockManager::getUserBlock"
[lhc/web/wiklou.git] / tests / phpunit / includes / user / UserTest.php
index 3005ae9..2a4ba4b 100644 (file)
@@ -1488,10 +1488,6 @@ class UserTest extends MediaWikiTestCase {
                // logged in users should be inmune to cookie block of type ip/range
                $this->assertNull( $user->getBlock() );
 
-               // cookie is being cleared
-               $cookies = $request->response()->getCookies();
-               $this->assertEquals( '', $cookies['wikiBlockID']['value'] );
-
                // clean up
                $block->delete();
        }