Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Cache] Fix abstract AdapterTestCase cache property #19474

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

Closed
wants to merge 1 commit into from

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