From 7c98e76fdde13ed1bd1cfc622be924ed1867c26d Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 25 Sep 2020 11:17:47 +1200 Subject: [PATCH] dev/core#2029 More debug attempts --- tests/phpunit/E2E/Core/PrevNextTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/E2E/Core/PrevNextTest.php b/tests/phpunit/E2E/Core/PrevNextTest.php index db52c588ad..f05ebb113d 100644 --- a/tests/phpunit/E2E/Core/PrevNextTest.php +++ b/tests/phpunit/E2E/Core/PrevNextTest.php @@ -251,7 +251,10 @@ class PrevNextTest extends \CiviEndToEndTestCase { $this->testFillArray(); $all = $this->prevNext->getSelection($this->cacheKey, 'getall')[$this->cacheKey]; - $this->assertEquals([100, 400, 200, 300], array_keys($all)); + $this->assertEquals([100, 400, 200, 300], array_keys($all), 'selected cache not correct for ' . $this->cacheKey + . ' defined keys are ' . $this->cacheKey . 'and ' . $this->cacheKeyB + . ' the prevNext cache is ' . print_r($this->prevNext, TRUE) + ); list ($id1, $id2, $id3) = array_keys($all); $this->prevNext->markSelection($this->cacheKey, 'select', [$id1, $id3]); -- 2.25.1