Le 04/05/2011 17:32, Donald a écrit :
Hi,

I'm trying to configure a custom test client. I have the class setup,
but I'm getting an error when configuring it in my config file.

I have the following added to the end of my config_test.yml file:

test.client.class: MyProject\MyClient

But I'm getting the following error:

There is no extension able to load the configuration for
"test.client.class"

Can anyone tell me what I'm doing wrong?

Thanks,

You need to put it in a "parameters" section to define a parameter. A top level block has to be either one of "services", "parameters", "imports" either an alias of a bundle semantic configuration.

--
Christophe | Stof

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

Reply via email to