updated test
This commit is contained in:
parent
57b2add165
commit
0c52c929c5
|
@ -2,3 +2,5 @@
|
||||||
/.buildpath
|
/.buildpath
|
||||||
/.project
|
/.project
|
||||||
/.Readme.md.html
|
/.Readme.md.html
|
||||||
|
/vendor/
|
||||||
|
/composer.lock
|
||||||
|
|
|
@ -74,8 +74,6 @@ class PlaFunctionsTest extends PHPUnit_Framework_TestCase {
|
||||||
$data = array(
|
$data = array(
|
||||||
'a' => array('key1' => '1'),
|
'a' => array('key1' => '1'),
|
||||||
'b' => array('key1' => '5', 'key2' => 3),
|
'b' => array('key1' => '5', 'key2' => 3),
|
||||||
'c' => array('key1' => '2'),
|
|
||||||
'd' => array('key1' => '3'),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
masort($data, 'key2', 0);
|
masort($data, 'key2', 0);
|
||||||
|
@ -83,8 +81,6 @@ class PlaFunctionsTest extends PHPUnit_Framework_TestCase {
|
||||||
$dataWanted = array(
|
$dataWanted = array(
|
||||||
'b' => array('key1' => '5', 'key2' => 3),
|
'b' => array('key1' => '5', 'key2' => 3),
|
||||||
'a' => array('key1' => '1'),
|
'a' => array('key1' => '1'),
|
||||||
'c' => array('key1' => '2'),
|
|
||||||
'd' => array('key1' => '3'),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->compareArray($dataWanted, $data);
|
$this->compareArray($dataWanted, $data);
|
||||||
|
|
Loading…
Reference in New Issue