Skip to content

Optionally enable caching of any request method #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Feb 20, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PHP 5.4 does not have ::class
  • Loading branch information
tuupola committed Feb 13, 2017
commit 5b21d4bf9cc34f3d1f2b9310a26722c51b0fe634
4 changes: 2 additions & 2 deletions spec/CachePluginSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ function it_does_not_allow_invalid_request_methods(
StreamInterface $stream
) {
$this
->shouldThrow(InvalidOptionsException::class)
->shouldThrow("Symfony\Component\OptionsResolver\Exception\InvalidOptionsException")
->during('__construct', [$pool, $streamFactory, ['methods' => ['GET', 'HEAD', 'POST ']]]);
$this
->shouldThrow(InvalidOptionsException::class)
->shouldThrow("Symfony\Component\OptionsResolver\Exception\InvalidOptionsException")
->during('__construct', [$pool, $streamFactory, ['methods' => ['GET', 'HEAD"', 'POST']]]);
}

Expand Down