File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Bundle \FrameworkBundle \Console \Descriptor \JsonDescriptor ;
15
15
16
+ /**
17
+ * @requires PHP 5.4
18
+ */
16
19
class JsonDescriptorTest extends AbstractDescriptorTest
17
20
{
18
- protected function setUp ()
19
- {
20
- if (PHP_VERSION_ID < 50400 ) {
21
- $ this ->markTestSkipped ('Test skipped on PHP 5.3 as JSON_PRETTY_PRINT does not exist. ' );
22
- }
23
- }
24
-
25
21
protected function getDescriptor ()
26
22
{
27
23
return new JsonDescriptor ();
Original file line number Diff line number Diff line change @@ -291,13 +291,10 @@ public function testValidation()
291
291
292
292
/**
293
293
* @group legacy
294
+ * @requires extension apc
294
295
*/
295
296
public function testLegacyFullyConfiguredValidationService ()
296
297
{
297
- if (!extension_loaded ('apc ' )) {
298
- $ this ->markTestSkipped ('The apc extension is not available. ' );
299
- }
300
-
301
298
$ container = $ this ->createContainerFromFile ('full ' );
302
299
303
300
$ this ->assertInstanceOf ('Symfony\Component\Validator\Validator\ValidatorInterface ' , $ container ->get ('validator ' ));
You can’t perform that action at this time.
0 commit comments