|
@@ -34,8 +34,7 @@ abstract class WebTestCase extends \PHPUnit_Framework_TestCase
|
|
|
*
|
|
|
* @return Client A Client instance
|
|
|
*/
|
|
|
- static protected function createClient(array $options = array(),
|
|
|
- array $server = array('HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3'))
|
|
|
+ static protected function createClient(array $options = array(), array $server = array())
|
|
|
{
|
|
|
static::$kernel = static::createKernel($options);
|
|
|
static::$kernel->boot();
|