summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/integration/features/bootstrap/FeatureContext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/FeatureContext.php b/build/integration/features/bootstrap/FeatureContext.php
index a09e74de57c..70424b1d24c 100644
--- a/build/integration/features/bootstrap/FeatureContext.php
+++ b/build/integration/features/bootstrap/FeatureContext.php
@@ -83,7 +83,7 @@ class FeatureContext extends BehatContext {
if ($usersList instanceof \Behat\Gherkin\Node\TableNode) {
$users = $usersList->getRows()[0];
$respondedArray = $this->getArrayOfUsersResponded($this->response);
- PHPUnit_Framework_Assert::assertEquals($users, $respondedArray);
+ PHPUnit_Framework_Assert::assertEquals(asort($users), asort($respondedArray));
}
}
@@ -96,7 +96,7 @@ class FeatureContext extends BehatContext {
if ($groupsList instanceof \Behat\Gherkin\Node\TableNode) {
$groups = $groupsList->getRows()[0];
$respondedArray = $this->getArrayOfGroupsResponded($this->response);
- PHPUnit_Framework_Assert::assertEquals($groups, $respondedArray);
+ PHPUnit_Framework_Assert::assertEquals(asort($groups), asort($respondedArray));
}
}