Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.3.2
-
Fix Version/s: None
-
Component/s: Testing
-
Labels:None
-
Environment:Windows 7 Pro
-
Testcase included:yes
Description
I have created an integration test for a controller.
I wanted to call the controller twice within one test* method however I can see that when called second time, the response [ controller.response ] is appended with new response.
I have tried creating two instances of the controller but even the second one has the response from first controller appended with new response.
I think this is a bug as I cannot see any way of clearing the response before calling the controller second time.
Besides, new instance of the controller should not share the same response imo.
test case attached