benturkia / zendframeworkstorefront

Automatically exported from code.google.com/p/zendframeworkstorefront
0 stars 0 forks source link

ERROR:Zend_exception no entry is registered for key 'loger' #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using the test code provided in Chapter 12, for every test in the catelog  get 
the error: ERROR:Zend_exception no entry is registered for key 'loger'
I also get the same error with some of the tests for User.
here is the test code for one such test.

public function test_User_Register_Fails_On_Invalid_Input()
{
$post = array(
'email' => 'com',
'passwd' => '',
'passwdVerify' => ''
);
$register = $this->_model->registerUser($post);
$form = $this->_model->getForm('userRegister');

$this->assertFalse($register);
foreach ($form->getErrors() as $field => $errors) {
if ('submit' != $field) {
if (0 == count($errors)) {
$this->fail($field . ' is expected to contain errors');
}}}}

Original issue reported on code.google.com by ma...@michaelafox.org on 6 Jan 2012 at 11:48