#5612: access to session variables when testing controllers
--------------------------------------------+-------------------------------
Reporter: dz | Type: Enhancement
Status: new | Priority: Medium
Milestone: 1.2.x.x | Component: Test Suite
Version: RC3 | Severity: Normal
Keywords: unit tests, controllers, dz | Php_version: n/a
Cake_version: 1.2.0.7692 RC3 |
--------------------------------------------+-------------------------------
Hello[[BR]]
[[BR]]
It would be great if session variables were available when testing
controller the same way the views one are right now. [[BR]]
[[BR]]
This could work using for example "session" for "return" option. However,
I think it would be more useful if "vars" returned both view and session
variables or the session variables would be available in tests in general.
This would make controller testing easier, I believe.[[BR]]
[[BR]]
thanks, regards[[BR]]
danielz
--
Ticket URL: <https://trac.cakephp.org/ticket/5612>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---