Skip to content

Commit

Permalink
fix test to avoid deprecation warning and ignore indirect deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Feb 5, 2020
1 parent 5f24492 commit e25654e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
global:
- VARNISH_VERSION=5.1
- SYMFONY_PHPUNIT_VERSION=8
- SYMFONY_DEPRECATIONS_HELPER="max[self]=0"
- DEPENDENCIES="toflar/psr6-symfony-http-cache-store:^2.2.0"

matrix:
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ProxyClient/HttpDispatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function testSetBasePathWithPath()
'http://fos.lo/my/path',
$this->httpClient
);
$request = $this->messageFactory->createRequest('PURGE', 'append');
$request = $this->messageFactory->createRequest('PURGE', '/append');
$httpDispatcher->invalidate($request);
$httpDispatcher->flush();

Expand Down

0 comments on commit e25654e

Please sign in to comment.