I have been posting that since the last year, there is already a mail group mail, a ticket report and a forum entry about that and no response anyway.
I think that we may expect anwsers from the next week on (the guys need some holidays too :) ) http://trac.symfony-project.org/ticket/5455 http://www.symfony-project.org/forum/index.php/m/68554/#msg_68554 -------- Original-Nachricht -------- > Datum: Thu, 1 Jan 2009 14:22:50 -0800 (PST) > Von: Torsten <torstenzan...@googlemail.com> > An: symfony users <symfony-users@googlegroups.com> > Betreff: [symfony-users] output in functional test > > Hi, > > I want to test modules secured with sfGuard. I try an login action. > > browser = new sfTestFunctional(new sfBrowser()); > $browser-> > get('login')-> > > with('request')->begin()-> > isParameter('module', 'sfGuardAuth')-> > isParameter('action', 'signin')-> > end()-> > click('Anmelden', array('signin' => array( > 'username' => 'torsten', > 'password' => 'testit', > )))-> > # with('form')->debug()-> > isRedirected()-> > followredirect()-> > isStatusCode(200)-> > end(); > > > when running a single test its green but return html output like this: > > # get login > ok 1 - request parameter module is sfGuardAuth > ok 2 - request parameter action is signin > # post /login > ok 3 - page redirected to http://localhost/ > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="title" content=" Portal" /> > <meta name="robots" content="index, follow" /> > <meta name="description" content=" Portal" /> > <meta name="keywords" content="" /> > <meta name="language" content="de" /> > <title> Portal</title> > </head> > <body> > > an running all tests it returns "Test returned status 255", which is I > suppose because of the html output ??? > > > > -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---