Skip to content

Conversation

@tgalopin
Copy link
Contributor

Q A
Branch? master
Bug fix? Sort of
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR reference to the documentation PR, if any

The AdapterTestCase extends the CachePoolTest from the cache/integration-tests package in order to test cache pools but it tries to reuse a private variable from its parent class.

As there is no need to use a property in this case, I simply replace the variable by a local one.

@nicolas-grekas
Copy link
Member

Thank you @tgalopin.

nicolas-grekas added a commit that referenced this pull request Jul 29, 2016
…lopin)

This PR was submitted for the master branch but it was merged into the 3.1 branch instead (closes #19474).

Discussion
----------

[Cache] Fix abstract AdapterTestCase cache property

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | Sort of
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | reference to the documentation PR, if any

The `AdapterTestCase` extends the `CachePoolTest` from the [cache/integration-tests package](https://packagist.org/packages/cache/integration-tests) in order to test cache pools but it tries to reuse a private variable from its parent class.

As there is no need to use a property in this case, I simply replace the variable by a local one.

Commits
-------

348b335 [Cache] Fix abstract AdapterTestCase cache property
@tgalopin tgalopin deleted the fix-cache-tests branch July 29, 2016 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants