Re: Problem with Session and PHP Unit Test

2015-01-22 Thread monica
How to read from the session when you are writing to it using $this->session()? On Wednesday, 21 January 2015 15:23:12 UTC, euromark wrote: > > in 3.x the --stderr of course is not necessary anymore > > For 3.x please use the IntegrationTest as it is designed, so add &g

Re: Problem with Session and PHP Unit Test

2015-01-21 Thread monica
7 UTC, euromark wrote: > > Dont forget --stderr when testing 2.x tests in CLI > > mark > > > Am Dienstag, 20. Januar 2015 13:29:47 UTC+1 schrieb monica: >> >> Hi! >> >> I baked new UnitTestsController for testing purposes and put inside the >> function

Problem with Session and PHP Unit Test

2015-01-20 Thread monica
Hi! I baked new UnitTestsController for testing purposes and put inside the function: public function reset_filters() { // suppose to delete CurrentFilter var from session this->request->session()->delete('CurrentFilter'); } I wanted to test session so I baked also UnitTestsControll