mock the proper method
This commit is contained in:
parent
034f47635c
commit
4b78d03379
@ -187,9 +187,15 @@ class SwitchUserListenerTest extends \PHPUnit_Framework_TestCase
|
||||
$this
|
||||
->request
|
||||
->expects($this->any())
|
||||
->method('all')
|
||||
->method('get')
|
||||
->with('_switch_user')
|
||||
->willReturn('_exit');
|
||||
$this
|
||||
->request
|
||||
->query
|
||||
->expects($this->any())
|
||||
->method('all')
|
||||
->will($this->returnValue(array()));
|
||||
$this
|
||||
->request
|
||||
->expects($this->any())
|
||||
|
Reference in New Issue
Block a user