Skip to content

Commit

Permalink
fixing classnames in unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Aug 26, 2012
1 parent 42279da commit e41930b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion framework/Koch/Form/FormDecorator.php
Expand Up @@ -25,6 +25,8 @@

namespace Koch\Form;

use Koch\Form\DecoratorInterface;

/**
* Form_Decorator
*
Expand Down Expand Up @@ -53,7 +55,7 @@
* @package Core
* @subpackage Form
*/
abstract class FormDecorator implements FormDecoratorInterface
abstract class FormDecorator implements DecoratorInterface
{
/**
* Instance of the form, which is to decorate.
Expand Down
2 changes: 1 addition & 1 deletion framework/Koch/Form/FormElementDecorator.php
Expand Up @@ -33,7 +33,7 @@
* @subpackage Form
*/

abstract class FormElementDecorator implements FormElementDecoratorInterface
abstract class FormElementDecorator implements DecoratorInterface
{
// instance of formelement, which is to decorate
protected $formelement;
Expand Down
4 changes: 2 additions & 2 deletions tests/unittests/framework/Koch/Form/Form.php
Expand Up @@ -385,7 +385,7 @@ public function testuseDefaultFormDecorators_method_true()
$default_form_decorators = $this->form->getDecorators();
$this->assertFalse(empty($default_form_decorators));
$this->assertTrue(is_object($default_form_decorators['form']));
$this->assertTrue(is_a($default_form_decorators['form'], 'Koch\Form\Decorator'));
$this->assertTrue(is_a($default_form_decorators['form'], 'Koch\Form\FormDecorator'));
}

public function testregisterDefaultFormDecorators()
Expand All @@ -394,7 +394,7 @@ public function testregisterDefaultFormDecorators()
$default_form_decorators = $this->form->getDecorators();
$this->assertFalse(empty($default_form_decorators));
$this->assertTrue(is_object($default_form_decorators['form']));
$this->assertTrue(is_a($default_form_decorators['form'], 'Koch\Form\Decorator'));
$this->assertTrue(is_a($default_form_decorators['form'], 'Koch\Form\FormDecorator'));
}

public function testremoveDecorator()
Expand Down

0 comments on commit e41930b

Please sign in to comment.