Skip to content

Commit

Permalink
Merge pull request #912 from timohund/bugfix/master/911-fix-failing-t…
Browse files Browse the repository at this point in the history
…ests-with-php-71

[BUGFIX] Fix failing test with PHP 7.1
  • Loading branch information
timohund authored Jan 21, 2017
2 parents c763972 + 81e0e08 commit 1a207ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ env:

matrix:
fast_finish: true
allow_failures:
- env: TYPO3_VERSION="dev-master"
php: 7.1
- env: TYPO3_VERSION="~8.5.0"
php: 7.1
exclude:
- php: 5.5
env: TYPO3_VERSION="dev-master"
Expand All @@ -51,6 +46,8 @@ matrix:
env: TYPO3_VERSION="7.x-dev"
- php: 7.1
env: TYPO3_VERSION="~7.6.14"
- php: 7.1
env: TYPO3_VERSION="~8.5.0"

before_install:
- composer self-update
Expand Down
2 changes: 1 addition & 1 deletion Tests/Integration/SearchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function canSearchForADocument()
$searchInstance = GeneralUtility::makeInstance(Search::class);

/** @var $query \ApacheSolrForTypo3\Solr\Query */
$query = GeneralUtility::makeInstance(Query::class);
$query = GeneralUtility::makeInstance(Query::class, '');
$query->useRawQueryString(true);
$query->setQueryFieldsFromString('content^40.0, title^5.0, keywords^2.0, tagsH1^5.0, tagsH2H3^3.0, tagsH4H5H6^2.0, tagsInline^1.0');
$query->setQueryString('hello');
Expand Down

0 comments on commit 1a207ca

Please sign in to comment.