Created
October 31, 2013 10:13
-
-
Save ndamnjanovic/7247324 to your computer and use it in GitHub Desktop.
Revisions
-
ndamnjanovic created this gist
Oct 31, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ TIP 1: Exception when performing many requests ----------------------------------------------------------------------------------------------- If you have more than one $this->call() or $this->client->request(), inside one test method, you may experience problems like: {"error":{"type":"ErrorException","message":"Undefined variable: header","file":"/*,"line":1}} or Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException You can solve this problem, if you do $this->client->restart(), before every next request that you're making.