Codeception/Codeception — pull request #837 by blacknoir (2014-01-29 15:41:23+00:00)
Title: Fixes to the arrayIntersectAssocRecursive() of REST module

Two fixes to the *arrayIntersectAssocRecursive()* used by *seeResponseContainsJson()*. Bugs appeared when trying recursively match json data inside the collection of similar-looking json items. E.g. assume api responds the below json collection of web-developer info:

```php
Array
(
[0] => Array
(
[user] => Blacknoir
[age] => 27
[tags] => Array
(
[0] => wed-dev
[1] => php
)

)

[1] => Array
(
[user] => John Doe
[age] => 27
[tags] => Array
(
[0] => web-dev
[1] => java
)

)

)
```

1) Such $I->seeResponseContainsJson(array('tags' => array('web-dev', 'java'))) test would fail. Fixed at dbb68a1
2) Such $I->seeResponseContainsJson(array('user' => 'John Doe', 'age' => 27)) test would fail. Fixed at 476d3c0