Clearing the cookies and cache didn't help. For now I'm just running the action of the controller instance I created and checking the - >viewVars, but I'm not sure how well this method will hold up with fixture data.
On Oct 16, 2:24 pm, [EMAIL PROTECTED] wrote: > Yes or the cookies. Delete them. > > On 10/16/2008, Chowsapal <[EMAIL PROTECTED]> wrote: > > > > > > > Right now I'm just trying to test the view vars depending on whether > > or not you post data to the url, but all successive calls to > > testAction are getting the same (original) results. It sounds like > > you're saying I shouldn't have to do anything to get fresh results. > > Any idea why I'm getting repeats then? Could it be caching or > > something? > > > On Oct 16, 11:57 am, [EMAIL PROTECTED] wrote: > >> Well with urls always changeing wont the results change anyways? > > >> On 10/16/2008, mark_story <[EMAIL PROTECTED]> wrote: > > >> > testAction simulates a url request, there is no need to unset the > >> > controller as it doesn't get set to the test case. Should the results > >> > come back differently. Please explain more. > > >> > -Mark > > >> > On Oct 16, 11:40 am, [EMAIL PROTECTED] wrote: > >> >> I am not sure that i understand what you are testing? I undertand the > >> >> problem just not what you are testing. > > >> >> On 10/16/2008, Chowsapal <[EMAIL PROTECTED]> wrote: > > >> >> > I'm trying to write test cases using testAction, but I can't seem to > >> >> > break down the controller in between tests. Each successive > >> >> > testAction call returns the same exact data, even if I call a > >> >> > completely made up url. I've tried including calls to create/ > >> >> > construct/unset $this->UndeliverablesController in startTest/endTest, > >> >> > but that doesn't seem to help. > > >> >> > Any ideas please? > > >> >> > Thanks, > >> >> > Ethan > > >> >> -- > >> >> Xavier A. Mathews > >> >> Student/Developer/Web-Master > >> >> GG Client Based Tech Support Specialist > >> >> Hazel Crest Illinois > >> >> [EMAIL PROTECTED] > >> >> "Fear of a name, only increases fear of the thing itself." > > >> -- > >> Xavier A. Mathews > >> Student/Developer/Web-Master > >> GG Client Based Tech Support Specialist > >> Hazel Crest Illinois > >> [EMAIL PROTECTED] > >> "Fear of a name, only increases fear of the thing itself." > > -- > Xavier A. Mathews > Student/Developer/Web-Master > GG Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
