-
Notifications
You must be signed in to change notification settings - Fork 34
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
EZP-29396: Remove unnecessary test cache decorator #123
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one!
@kmadejski Seems we have issue from newer version og phpunit packages on PHP 7.1 and higher, could you check? ref:
|
@andrerom yes, actually, I'm investigating it right now. |
@kmadejski we just need to upgrade PHPUnit to version |
f944905
to
7993d21
Compare
.travis.yml
Outdated
- php: 5.6 | ||
env: TEST_CONFIG="phpunit-integration-legacy-solr.xml" SOLR_VERSION="6.6.0" CORES_SETUP="single" SOLR_CORES="collection1" | ||
|
||
- php: 5.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage for 7.1 on Solr 6 is missing now
maybe also just move COMPOSER_REQUIRE="ezsystems/ezpublish-kernel:~6.7.4@dev"
to 7.0 job to avoid the shuffling of the list here also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage for 7.1 on Solr 6 is missing now
Right, I'll add this, but this can be only against ezpublish-kernel
master.
maybe also just move COMPOSER_REQUIRE="ezsystems/ezpublish-kernel:~6.7.4@dev" to 7.0
Unfortunately, we can't run test with PHP >= 7.0 and ezsystems/ezpublish-kernel:~6.7.4@dev
because of the problem with typehints for return values in the new PHPUnit (ref: https://travis-ci.org/ezsystems/ezplatform-solr-search-engine/jobs/403021480).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But PHPUnit 7.x requires PHP 7.1 doesn't it? ref: https://phpunit.de/announcements/phpunit-7.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you are right. Moved tests against kernel 6.7 to PHP 7.0.
1.5
andmaster
This change is required regarding changes done in kernel in: ezsystems/ezpublish-kernel#2387.
Since test should be working properly with Redis, using of the
eZ\Publish\Core\Persistence\Cache\Tests\Helpers\IntegrationTestCacheServiceDecorator
is no longer necessary.