You are here

private function PatternsUserTestCase::arrayEquals in Patterns 7

Same name and namespace in other branches
  1. 7.2 tests/user/user.test \PatternsUserTestCase::arrayEquals()
2 calls to PatternsUserTestCase::arrayEquals()
PatternsUserTestCase::testPermissionCreate in tests/user/user.test
PatternsUserTestCase::testPermissionModify in tests/user/user.test

File

tests/user/user.test, line 99
SimpleTests for the User component of Patterns. TODO: permissions.

Class

PatternsUserTestCase
@file SimpleTests for the User component of Patterns. TODO: permissions.

Code

private function arrayEquals($a, $b) {
  sort($a);
  sort($b);
  return $a == $b;
}