[symfony-users] Test

2009-08-19 Thread DEEPAK BHATIA



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[symfony-users] test secure action

2009-05-05 Thread Jack Bates

Where is there an example of testing a secure action? I looked,

* http://www.symfony-project.org/jobeet/1_2/Propel/en/09
* http://www.symfony-project.org/book/1_2/15-Unit-and-Functional-Testing

I don't necessarily want to test that the action is secure, nor do i
want to test the login action - I want to test that my action behaves
correctly - it just happens to be secure, so get('/foo/bar') forwards
to the login action unless I do something about it

I tried,

getContext()->getUser()->setAuthenticated(true);

$browser->
  get('/foo/bar')->

  with('response')->begin()->
checkElement('foo', 'bar')->
  end();

- without success

Where is there an example of testing a secure action?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[symfony-users] Test unit Jobeet - Doctrine

2009-07-16 Thread Owen Jeremiah

Hi all,

Ran into an error while following Jobeet Tutorial - Doctrine path Day #9.
When I tried to load data into my test database using "php symfony
test:unit JobeetJob", it returns this error message:
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_at'
in 'field list'"
It seems that my bootstrap (data loading part) failed, because column
'created_at' does not exist in my model, which is correct since the
created_at and updated_at is provided by
Doctrine_Template_Timestampable. Trying to just call my
test/bootstrap/Doctrine.php file resulting in the same error.

Sounds funny, since my "php symfony doctrine:data-load" doing just
fine, and I'm using the same fixtures data (just copied it from my
data/fixtures to test/fixtures)

Anybody can shed some light on this?

My test/bootstrap/Doctrine.php:

--
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Test suite of symfony 2

2010-12-13 Thread odino
Hi guys,

I was trying to fix a bug on Sf2 tracker. To do that I needed to build
the environment:
* forked the symfony/symfony repo
* cloned on my local machine
* installed required PEAR packages
* installed ( eventually updated ) the vendors

but when i run phpunit I get a fatal error:
Call to undefined method
PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
AnnotationDirectoryLoaderTest.php on line 27

ideas?

-- 
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 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


[symfony-users] test-unit with ldap API

2008-07-10 Thread Mathieu Pauly
Hi all,

I am discovering symfony tests from few days and I have a problem.

1.  I wrote a class named Ldap in myApp/lib/Ldap.class.php. (listing at the
end of this email). Hence, I wanted to run a test for this class.
2.  I wrote a test in test/unit/LdapTest.php.

Since I am using LDAP functions (ldap_connect(), ldap_search() etc.) I
enabled php extension php_ldap. This Ldap class works well in production
use.

3.   But when I run the test by typing: C:\wamp\www\myApp>symfony test-unit
Ldap
I got this error:

Fatal error: Call to undefined function ldap_connect() in
C:\wamp\www\myApp\lib\Ldap.class.php on line 24.

# -- file Ldap.class.php --


# -- file LdapTest.php --
diag('testLogin()');
$expectedResult = 1;
$actualResult = Ldap::testLogin('jeanluc.truc', 'truc');
$t->is($expectedResult, $actualResult, 'testLogin() should works');
?>

Note: I have not this error in production mode, just in test.

Somebody has any idea?

Best regards.


-- 
Mathieu Pauly.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Test email sending in function test

2010-03-04 Thread Alexx
Hi,

Sorry for my english.

I try test email sending, but when I call action ($browser->post('/
genre/save')) it call in prod environment (in production environment
mailer settings is incorrect), not in test. How can I change
environment?

My factories.yml:
test:
  mailer:
param:
  delivery_strategy: none

dev:
  mailer:
param:
  delivery_strategy: none

all:
  mailer:
class: sfMailer
param:
  logging:   %SF_LOGGING_ENABLED%
  charset:   %SF_CHARSET%
  delivery_strategy: realtime
  transport:
class: Swift_SmtpTransport
param:
  host:   localhost
  port:   25
  encryption: ~
  username:   ~
  password:   ~


Tnx

-- 
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 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


[symfony-users] test stops at redirect without error :-(

2010-08-03 Thread mlu...@gmail.com
Hi!

I am writting tests for all my forms. Yesterday in the evening
everything went fine and today it doesn't.

This is the start of my test file:
...

  get('/gamelists/index')->
  with('request')->begin()->
isParameter('module', 'lists')->
//1
isParameter('action', 'index')->
//2
  end()->
  // check login
  click('sign in', array( 'account' =>array(
'user' => '',
'pass' => ''
  )))->
  isRedirected()->
  followRedirect()->
...

The test simply stops at the redirect without ny errors. It says
"everything went fine".

1. Can anybody say me please what i am doing wrong, I don't see it.
2. Is there a way to say how many tests are implemented in the file
like for unit tests? So the framework can check if all test where
made.

michael

-- 
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 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


Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier

Which version of PHPUnit do you use?

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

On 12/13/10 12:43 PM, odino wrote:

Hi guys,

I was trying to fix a bug on Sf2 tracker. To do that I needed to build
the environment:
* forked the symfony/symfony repo
* cloned on my local machine
* installed required PEAR packages
* installed ( eventually updated ) the vendors

but when i run phpunit I get a fatal error:
Call to undefined method
PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
AnnotationDirectoryLoaderTest.php on line 27

ideas?



--
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 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


Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
Hi Fabien,

2010/12/14 Fabien Potencier :
> Which version of PHPUnit do you use?

phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann.

Following some hints of the italian symfony ML I've tried to use the
vPR4 tag ( instead of the master ) on the Git repo, but the,
frustrating :), error that I get ( after a few tests run properly )
is:

PHP Fatal error:  Cannot redeclare class FooClass in
/var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
on line 4

>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
> On 12/13/10 12:43 PM, odino wrote:
>>
>> Hi guys,
>>
>> I was trying to fix a bug on Sf2 tracker. To do that I needed to build
>> the environment:
>> * forked the symfony/symfony repo
>> * cloned on my local machine
>> * installed required PEAR packages
>> * installed ( eventually updated ) the vendors
>>
>> but when i run phpunit I get a fatal error:
>> Call to undefined method
>> PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
>> in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
>> AnnotationDirectoryLoaderTest.php on line 27
>>
>> ideas?
>>
>
> --
> 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 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
>



-- 
Nadalin Alessandro
www.odino.org
www.twitter.com/_odino_

-- 
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 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


Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier

You must use the latest stable version of PHPUnit.

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

On 12/14/10 11:00 AM, Alessandro Nadalin wrote:

Hi Fabien,

2010/12/14 Fabien Potencier:

Which version of PHPUnit do you use?


phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann.

Following some hints of the italian symfony ML I've tried to use the
vPR4 tag ( instead of the master ) on the Git repo, but the,
frustrating :), error that I get ( after a few tests run properly )
is:

PHP Fatal error:  Cannot redeclare class FooClass in
/var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
on line 4



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

On 12/13/10 12:43 PM, odino wrote:


Hi guys,

I was trying to fix a bug on Sf2 tracker. To do that I needed to build
the environment:
* forked the symfony/symfony repo
* cloned on my local machine
* installed required PEAR packages
* installed ( eventually updated ) the vendors

but when i run phpunit I get a fatal error:
Call to undefined method
PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
AnnotationDirectoryLoaderTest.php on line 27

ideas?



--
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 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







--
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 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


Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
Hi Fabien,

2010/12/14 Fabien Potencier :
> You must use the latest stable version of PHPUnit.

Sorry, terrible mistake of mine.

But after upgrading to 3.5.5 I get, as previously:

PHP Fatal error:  Cannot redeclare class FooClass in
/var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
on line 4

>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
> On 12/14/10 11:00 AM, Alessandro Nadalin wrote:
>>
>> Hi Fabien,
>>
>> 2010/12/14 Fabien Potencier:
>>>
>>> Which version of PHPUnit do you use?
>>
>> phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann.
>>
>> Following some hints of the italian symfony ML I've tried to use the
>> vPR4 tag ( instead of the master ) on the Git repo, but the,
>> frustrating :), error that I get ( after a few tests run properly )
>> is:
>>
>> PHP Fatal error:  Cannot redeclare class FooClass in
>>
>> /var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
>> on line 4
>>
>>>
>>> --
>>> Fabien Potencier
>>> Sensio CEO - symfony lead developer
>>> sensiolabs.com | symfony-project.org | fabien.potencier.org
>>> Tél: +33 1 40 99 80 80
>>>
>>> On 12/13/10 12:43 PM, odino wrote:

 Hi guys,

 I was trying to fix a bug on Sf2 tracker. To do that I needed to build
 the environment:
 * forked the symfony/symfony repo
 * cloned on my local machine
 * installed required PEAR packages
 * installed ( eventually updated ) the vendors

 but when i run phpunit I get a fatal error:
 Call to undefined method
 PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
 in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
 AnnotationDirectoryLoaderTest.php on line 27

 ideas?

>>>
>>> --
>>> 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 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
>>>
>>
>>
>>
>
> --
> 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 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
>



-- 
Nadalin Alessandro
www.odino.org
www.twitter.com/_odino_

-- 
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 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


Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier

On 12/14/10 1:21 PM, Alessandro Nadalin wrote:

Hi Fabien,

2010/12/14 Fabien Potencier:

You must use the latest stable version of PHPUnit.


Sorry, terrible mistake of mine.

But after upgrading to 3.5.5 I get, as previously:

PHP Fatal error:  Cannot redeclare class FooClass in
/var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
on line 4


That's weird as it definitely works for me. Have you a special 
phpunit.xml, or do you use the one that comes with Symfony2?


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 12/14/10 11:00 AM, Alessandro Nadalin wrote:


Hi Fabien,

2010/12/14 Fabien Potencier:


Which version of PHPUnit do you use?


phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann.

Following some hints of the italian symfony ML I've tried to use the
vPR4 tag ( instead of the master ) on the Git repo, but the,
frustrating :), error that I get ( after a few tests run properly )
is:

PHP Fatal error:  Cannot redeclare class FooClass in

/var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
on line 4



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

On 12/13/10 12:43 PM, odino wrote:


Hi guys,

I was trying to fix a bug on Sf2 tracker. To do that I needed to build
the environment:
* forked the symfony/symfony repo
* cloned on my local machine
* installed required PEAR packages
* installed ( eventually updated ) the vendors

but when i run phpunit I get a fatal error:
Call to undefined method
PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
AnnotationDirectoryLoaderTest.php on line 27

ideas?



--
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 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







--
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 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







--
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 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


Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
2010/12/14 Fabien Potencier :
> On 12/14/10 1:21 PM, Alessandro Nadalin wrote:
>>
>> Hi Fabien,
>>
>> 2010/12/14 Fabien Potencier:
>>>
>>> You must use the latest stable version of PHPUnit.
>>
>> Sorry, terrible mistake of mine.
>>
>> But after upgrading to 3.5.5 I get, as previously:
>>
>> PHP Fatal error:  Cannot redeclare class FooClass in
>>
>> /var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
>> on line 4
>
> That's weird as it definitely works for me. Have you a special phpunit.xml,
> or do you use the one that comes with Symfony2?

Definitely weird, I use the XML bundled with Sf2.

If i use phpunit --configuration phpunit.xml(.dist) I get the same problem.

The system is:
* ubuntu linux 10.04
* php 5.3.2
* phpunit 3.5.5 ( installed via PEAR )
* Symfony2 vPR4 tag ( from github )

Vendors are installed and upgraded via install* and update* _vendors.sh.

>
> 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 12/14/10 11:00 AM, Alessandro Nadalin wrote:

 Hi Fabien,

 2010/12/14 Fabien Potencier:
>
> Which version of PHPUnit do you use?

 phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann.

 Following some hints of the italian symfony ML I've tried to use the
 vPR4 tag ( instead of the master ) on the Git repo, but the,
 frustrating :), error that I get ( after a few tests run properly )
 is:

 PHP Fatal error:  Cannot redeclare class FooClass in


 /var/www/symfony2/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/includes/foo.php
 on line 4

>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
> On 12/13/10 12:43 PM, odino wrote:
>>
>> Hi guys,
>>
>> I was trying to fix a bug on Sf2 tracker. To do that I needed to build
>> the environment:
>> * forked the symfony/symfony repo
>> * cloned on my local machine
>> * installed required PEAR packages
>> * installed ( eventually updated ) the vendors
>>
>> but when i run phpunit I get a fatal error:
>> Call to undefined method
>> PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass()
>> in /var/www/symfony2/tests/Symfony/Tests/Component/Routing/Loader/
>> AnnotationDirectoryLoaderTest.php on line 27
>>
>> ideas?
>>
>
> --
> 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 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
>



>>>
>>> --
>>> 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 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
>>>
>>
>>
>>
>
> --
> 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 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
>



-- 
Nadalin Alessandro
www.odino.org
www.twitter.com/_odino_

-- 
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 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


[symfony-users] Test functional : Problem with delete method

2009-11-01 Thread Necho

Hi !

I have a problem with the method delete! I developped the create,
edit, list method with success but for the delete method, when i click
on the button "delete" i have a confirmation text (in javascript). To
delete, i must click on the button OK but the javascript can't be
tested! no? Do you have a solution?

Thanks

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[symfony-users] test-unit is "dubious" and returns status 255

2007-06-02 Thread Steve

Hi,

I've found this problem mentioned a few times before, but haven't
really found a solution ... sorry if I'm missing something.

My problem is the same one that the original poster has: all of my
unit test classes run fine when invoked invidiually:

$ symfony test-unit ClassUnderTest

But when I run:

$ symfony test-unit

The same tests that passed before are "dubious" and "Test returned
status 255"

Running symfony 1.0.3 and this problem happens on both OS X and Fedora

Thanks,
-steve


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---