Skip to content

Commit bd7f4d6

Browse files
committed
minor symfony#17582 [2.7] Fix tests (paradajozsef)
This PR was squashed before being merged into the 2.7 branch (closes symfony#17582). Discussion ---------- [2.7] Fix tests | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | Let's see Travis results | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- c8e1384 [2.7] Fix tests
2 parents 12bee17 + c8e1384 commit bd7f4d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/ClassLoader/Tests/LegacyApcUniversalClassLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LegacyApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
2121
protected function setUp()
2222
{
2323
if (ini_get('apc.enabled') && ini_get('apc.enable_cli')) {
24-
apcu_clear_cache('user');
24+
apcu_clear_cache();
2525
} else {
2626
$this->markTestSkipped('APC is not enabled.');
2727
}
@@ -30,7 +30,7 @@ protected function setUp()
3030
protected function tearDown()
3131
{
3232
if (ini_get('apc.enabled') && ini_get('apc.enable_cli')) {
33-
apcu_clear_cache('user');
33+
apcu_clear_cache();
3434
}
3535
}
3636

0 commit comments

Comments
 (0)