Skip to content

Commit

Permalink
minor improvement to unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed Dec 15, 2011
1 parent f969487 commit 7d161d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/select.php
Expand Up @@ -39,7 +39,7 @@ class Select_InvalidParameters_Exception extends Select_Exception { }
* *
* How-to extend the class with a custom namespace: * How-to extend the class with a custom namespace:
* *
* class My_DI extends JeDI { * class My_DI extends Select {
* const DEFAULT_NAMESPACE = 'My_'; * const DEFAULT_NAMESPACE = 'My_';
* static protected $_namespace = self::DEFAULT_NAMESPACE; * static protected $_namespace = self::DEFAULT_NAMESPACE;
* } * }
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/selectTest.php
Expand Up @@ -25,8 +25,8 @@ class Select_Test extends PHPUnit_Framework_TestCase
*/ */
public function setUp() public function setUp()
{ {
App_Builder::reset(); $classes = $this->classUnderTest();
App\Builder::reset(); foreach ($classes as $class) $class[0]::reset();
} }


/** /**
Expand Down

0 comments on commit 7d161d5

Please sign in to comment.