diff --git a/tests/scenarios/SearchSelection/SearchSelectionTest.php b/tests/scenarios/SearchSelection/SearchSelectionTest.php
index 6517e46c76f36085b8c1e24b6eb318d4da4e6eb1..d6300bea092a3ec04989d05366a5f56521fdda3f 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);
   }
 }