MDL-43266 testing: avoid assoc arrays for json

Last commit switched from raw arrays to associative
arrays. That leads to json_encode() to generate an
object instead of an array, ultimately leading to
problems with the rest of code expecting an array.

By using array_values() we are moving back to the
non-associative array.

Also, fix some file permissions.
This commit is contained in:
Eloy Lafuente (stronk7)
2014-03-13 22:15:16 +01:00
parent 796e6f2153
commit 96555937ad
2 changed files with 1 additions and 1 deletions
Executable → Regular
View File