From 9479c097d146dd14880d7d6b8595d204592c0615 Mon Sep 17 00:00:00 2001 From: BibLibre Sysop <sysop@biblibre.com> Date: Thu, 25 Oct 2018 16:31:32 +0200 Subject: [PATCH] hotline #80939 test fix --- tests/scenarios/SearchSelection/SearchSelectionTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/scenarios/SearchSelection/SearchSelectionTest.php b/tests/scenarios/SearchSelection/SearchSelectionTest.php index 6517e46c76f..d6300bea092 100644 --- a/tests/scenarios/SearchSelection/SearchSelectionTest.php +++ b/tests/scenarios/SearchSelection/SearchSelectionTest.php @@ -298,7 +298,6 @@ class SearchSelectionSelectPageTest extends SearchSelectionTestCase { $this->dispatch('/records/select-page/expressionRecherche/pomme/facettes/T3/page/1/page_size/2', true); $this->assertEquals([8, 10, 9], Zend_Registry::get('session')->search_record_selection); - return $this->_response->getBody(); } @@ -311,9 +310,9 @@ class SearchSelectionSelectPageTest extends SearchSelectionTestCase { 'simple'); $this->dispatch('/records/select-page/expressionRecherche/pomme/facettes/T3/page/1', true); - $this->assertEquals([8, 9], - Zend_Registry::get('session')->search_record_selection); - return $this->_response->getBody(); + + sort(Zend_Registry::get('session')->search_record_selection); + $this->assertEquals([8, 9], Zend_Registry::get('session')->search_record_selection); } } -- GitLab