Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Tests
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Dec 2018 at 18:32 UTC
Updated:
11 Jan 2019 at 15:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
drunken monkeyFirst, let’s try reverting the commits from yesterday, to see whether those are the problem. (Seems unlikely, though.)
Comment #3
drunken monkeyOh. Huh. Curious.
Since the tests are also failing with Drupal 8.6, this really seems to indicate our code is at fault. I just don’t know how.
Since getting PHP 5.5 installed locally is quite a hassle, I’ll abuse the test bot a bit …
Comment #4
drunken monkeyOK, so if
ViewsTest::testView()is failing the same way even when removingSearchApiEntityOperationsand related code, just leaving in the test code from the last commit, then that test code must be the problem, right? As we only added a test method inViewsTest, it would either have to be the view definition (unlikely, we only add one page) or the additional entity hooks we implemented.However, I don’t really see anything there that could pose a problem in PHP 5 (5.6 is failing, too.).
Maybe it’s this line?
Comment #5
drunken monkeyAlright, this should do it – for some reason.
Comment #6
drunken monkeyAh. Makes sense. (At least taking the previous fix into account.)
Comment #8
drunken monkeyCommitted.