Last active
June 9, 2016 15:52
-
-
Save sethetter/888a62e00a1f12479b71490868df4f54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Why does this.. | |
->seeJson([ | |
'groups' => [ | |
[ | |
'name' => $group->name, | |
'docs' => [$doc1->toArray(), $doc2->toArray()] | |
], | |
[ | |
'name' => $individual_group->name, | |
'docs' => [$doc3->toArray()] | |
] | |
] | |
]); | |
// Result in this? | |
[ // <---- That's supposed to be a curly brace, what gives? | |
"groups": [ | |
{ | |
"docs": [ | |
// ... | |
], | |
"name":"Maudie Will" | |
}, | |
{ | |
"docs":[ | |
// ... | |
], | |
"name":"Carroll-Hayes" | |
} | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment