added kernel shutdown before create client, fixed and stashed
This commit is contained in:
parent
1bb6e0de4d
commit
3303155023
@ -35,6 +35,10 @@ abstract class WebTestCase extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
static protected function createClient(array $options = array(), array $server = array())
|
||||
{
|
||||
if (null !== static::$kernel) {
|
||||
static::$kernel->shutdown();
|
||||
}
|
||||
|
||||
static::$kernel = static::createKernel($options);
|
||||
static::$kernel->boot();
|
||||
|
||||
|
Reference in New Issue
Block a user