change the assert equals value to content or statuscode
added assertInstanceof in tests
test the response with assertinstanceOf
fixed test
Merge pull request #243 from easy-es/tests-response

change the assert equals value to content or statuscode
Merge remote-tracking branch 'upstream/master' into improving-custom-action

Conflicts:
	src/core/Claroline/CoreBundle/Tests/Controller/ResourceControllerTest.php
	src/core/Claroline/CoreBundle/Tests/Controller/WorkspaceControllerTest.php