Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review
StatusFileSize
new13.36 KB

First, let’s try reverting the commits from yesterday, to see whether those are the problem. (Seems unlikely, though.)

drunken monkey’s picture

Oh. 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 …

drunken monkey’s picture

OK, so if ViewsTest::testView() is failing the same way even when removing SearchApiEntityOperations and 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 in ViewsTest, 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?

drunken monkey’s picture

Title: Fix failing tests on PHP 5.5 » Fix failing tests on PHP 5
StatusFileSize
new575 bytes

Alright, this should do it – for some reason.

drunken monkey’s picture

StatusFileSize
new626 bytes
new1002 bytes

Ah. Makes sense. (At least taking the previous fix into account.)

  • drunken monkey committed 6283f7a on 8.x-1.x
    Issue #3022452 by drunken monkey: Fixed failing tests on PHP 5.
    
drunken monkey’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.