I'm not sure how it worked before as there is no Session storage class yet for functional tests.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 9/2/10 9:57 PM, Florian Klein wrote:

Bien sur, voici un lien du fichier sur github:

http://github.com/docteurklein/Symfony2-e-commerce/blob/master/src/Application/ECommerceBundle/Tests/Controller/ECommerceControllerTest.php

Ca sera peut etre plus simple a visualiser.

Sinon, je l 'ai mis en pièce jointe.

<http://github.com/docteurklein/Symfony2-e-commerce/blob/master/src/Application/ECommerceBundle/Tests/Controller/ECommerceControllerTest.php>Merci,
Florian.

2010/9/2 Fabien Potencier <[email protected]
<mailto:[email protected]>>

    Can you send me your test file?

    --
    Fabien Potencier
    Sensio CEO - symfony lead developer
    sensiolabs.com <http://sensiolabs.com> | symfony-project.org
    <http://symfony-project.org> | fabien.potencier.org
    <http://fabien.potencier.org>
    Tél: +33 1 40 99 80 80

    On 9/2/10 4:57 PM, Florian wrote:

        Hi!

        I'm encoutering an error since an upgrade to the latest Symfony2.


        1) Application\ECommerceBundle\Tests\Controller
        \ECommerceControllerTest::testIndex
        A session had already been started - ignoring session_start()

        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpFoundation/SessionStorage/NativeSessionStorage.php:83
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpFoundation/Session.php:52
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpFoundation/Request.php:250
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpKernel/DataCollector/RequestDataCollector.php:41
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Bundle/
        FrameworkBundle/DataCollector/RequestDataCollector.php:30
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpKernel/Profiler/Profiler.php:238
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpKernel/Profiler/ProfilerListener.php:87
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Framework/
        Debug/EventDispatcher.php:101
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpKernel/HttpKernel.php:159
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        HttpKernel/HttpKernel.php:89
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Framework/
        Kernel.php:209
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Framework/
        Client.php:92
        /var/www/Symfony2-e-commerce/src/vendor/symfony/src/Symfony/Component/
        BrowserKit/Client.php:208
        /var/www/Symfony2-e-commerce/src/Application/ECommerceBundle/Tests/
        Controller/ECommerceControllerTest.php:13

        Do you have an idea why ?


    --
    If you want to report a vulnerability issue on symfony, please send
    it to security at symfony-project.com <http://symfony-project.com>

    You received this message because you are subscribed to the Google
    Groups "symfony users" group.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:symfony-users%[email protected]>
    For more options, visit this group at
    http://groups.google.com/group/symfony-users?hl=en


--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

Reply via email to