');
$this-assertAction('index');
}
}
?
But the autoloading dont works :(
Best regards
Aycko
Ralph Schindler-2 wrote:
Mostly you should note that just as your application would bootstrap, so
does your testing environment.
This means that you need to have
Push.
Aycko wrote:
All classes which are loaded with Zend_Application_Module_Autoloader in
module bootrap could not be found. The autoloaders are defined in
application bootstrap and module bootstrap ... this works great, but not
fpr testing.
Defining
in tests
folder dont works. Including the missing miles via require_once works, but
this is not very comfortable.
funkyfly wrote:
Can you provide more detailed information about the fatal error?
--
Regards,
Vladas Diržys
On Fri, Sep 25, 2009 at 13:18, Aycko aycko.maer...@gmx.de wrote
Aycko wrote:
Hello together,
i set up a basic environment for unit testing my Zend_Application.
A basic test looks something like this:
public function testDefaultControllerAndAction() {
$this-dispatch('/');
$this-assertController('index');
$this-assertAction('index
in command line causes some php fatal errors. All classes
which are loaded with Zend_Application_Module_Autoloader in module bootrap
could not be found.
Are there any solution without setting up all requires manually?
Best regards
Aycko
--
View this message in context:
http://www.nabble.com/Problem
I had the same problem. My solution was to parse the URL myself and
following by routing this parameters myself.
This is not the best solution, but it works ;)
I'm interested to solve this problem in a cleaner way, too.
-Ursprüngliche Nachricht-
Von: php [mailto:[EMAIL PROTECTED]
Hello together,
i use the Zend_Db class for my sql. queries I have to use field names like
':tablename:filedname'. This execute an exception, because a bind parameter
is required.
I tried an query like this:
$db-query(SELECT `:tablename:filedname` FROM `table`);
Is gives any solution to use
: Donnerstag, 28. Dezember 2006 14:46
An: Aycko Maerzke
Betreff: Re: [fw-general] Problem with Zend_DB an PDO
Aycko Maerzke wrote:
Hello together,
i use the Zend_Db class for my sql. queries I have to use field names
like ':tablename:filedname'. This execute an exception, because a bind
?
Best regards Aycko