Skip to content

Commit e25654e

Browse files
committed
fix test to avoid deprecation warning and ignore indirect deprecations
1 parent 5f24492 commit e25654e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
global:
1010
- VARNISH_VERSION=5.1
1111
- SYMFONY_PHPUNIT_VERSION=8
12+
- SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
1213
- DEPENDENCIES="toflar/psr6-symfony-http-cache-store:^2.2.0"
1314

1415
matrix:

tests/Unit/ProxyClient/HttpDispatcherTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function testSetBasePathWithPath()
203203
'http://fos.lo/my/path',
204204
$this->httpClient
205205
);
206-
$request = $this->messageFactory->createRequest('PURGE', 'append');
206+
$request = $this->messageFactory->createRequest('PURGE', '/append');
207207
$httpDispatcher->invalidate($request);
208208
$httpDispatcher->flush();
209209

0 commit comments

Comments
 (0)