Skip to content

Commit

Permalink
Merge pull request #18587 from eileenmcnaughton/prevnext
Browse files Browse the repository at this point in the history
dev/core#2029 E2E.Core.PrevNextTest.testDeleteByCacheKey More debug attempts
  • Loading branch information
eileenmcnaughton authored Sep 25, 2020
2 parents bccf917 + 7c98e76 commit 73b7c26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/phpunit/E2E/Core/PrevNextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,10 @@ public function testDeleteByCacheKey() {
$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]);
Expand Down

0 comments on commit 73b7c26

Please sign in to comment.