schellingerht

Results comments of schellingerht

@GrahamCampbell Thanks for your reply, but seeJson() _expects an array_. _ErrorException: Argument 1 passed to Illuminate\Foundation\Testing\TestCase::seeJson() must be of the type array, object given, called in /Applications/XAMPP/xamppfiles/htdocs/w/server/tests/UserOrganisationTest.php on line 7...

@GrahamCampbell I know, but why tells the doc that there are json-methods: seeJson(), seeJsonContains(), etc for testing json output? See this: http://laravel.com/docs/5.1/testing#testing-json-apis

Ok, I'll check via another way the json output, but why are there new methods in L5.1 testsuite if you say they're too fancy to use?