Skip to content

Commit 3b84d7a

Browse files
committed
Merge branch '2.1' into master
2 parents 097e241 + 2b2622e commit 3b84d7a

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
3333
"phpspec/phpspec": "^6.1",
3434
"ezsystems/ezplatform-code-style": "^0.1.0",
35-
"friendsofphp/php-cs-fixer": "^2.16.0"
35+
"friendsofphp/php-cs-fixer": "^2.16.0",
36+
"symfony/phpunit-bridge": "^5.1"
3637
},
3738
"autoload": {
3839
"psr-4": {

phpunit.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99
>
1010
<php>
1111
<ini name="error_reporting" value="-1" />
12+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled=1"/>
1213
</php>
1314
<testsuites>
1415
<testsuite name="default"><directory>tests</directory></testsuite>
1516
</testsuites>
17+
<listeners>
18+
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
19+
</listeners>
1620
</phpunit>

tests/PurgeClient/LocalPurgeClientTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@
44
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7-
namespace EzSystems\PlatformHttpCacheBundle\Tests\PurgeClient;
8-
9-
/**
10-
* Avoid test failure caused by time passing between generating expected & actual object.
11-
*
12-
* @return int
13-
*/
14-
function time()
15-
{
16-
return 1417624982;
17-
}
18-
197
namespace eZ\Publish\Core\MVC\Symfony\Cache\Tests;
208

219
use EzSystems\PlatformHttpCacheBundle\PurgeClient\LocalPurgeClient;

0 commit comments

Comments
 (0)