|
@@ -66,7 +66,6 @@ class ParameterBagTest extends \PHPUnit_Framework_TestCase
|
|
|
/**
|
|
|
* @dataProvider getInvalidPaths
|
|
|
* @expectedException \InvalidArgumentException
|
|
|
- * @covers Symfony\Component\HttpFoundation\ParameterBag::getDeep
|
|
|
*/
|
|
|
public function testGetDeepWithInvalidPaths($path)
|
|
|
{
|
|
@@ -85,9 +84,6 @@ class ParameterBagTest extends \PHPUnit_Framework_TestCase
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @covers Symfony\Component\HttpFoundation\ParameterBag::getDeep
|
|
|
- */
|
|
|
public function testGetDeep()
|
|
|
{
|
|
|
$bag = new ParameterBag(array('foo' => array('bar' => array('moo' => 'boo'))));
|
|
@@ -166,5 +162,4 @@ class ParameterBagTest extends \PHPUnit_Framework_TestCase
|
|
|
$this->assertEquals(123, $bag->getInt('digits'), '->getInt() gets a value of parameter as integer');
|
|
|
$this->assertEquals(0, $bag->getInt('unknown'), '->getInt() returns zero if a parameter is not defined');
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
+}
|