Skip to content
Browse files

minor improvement to unit test case

  • Loading branch information...
1 parent f969487 commit 7d161d51c7613ec14a7eeb382f4ebf1d88487cb5 @dluc committed Dec 15, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/select.php
  2. +2 −2 tests/lib/selectTest.php
View
2 lib/select.php
@@ -39,7 +39,7 @@ class Select_InvalidParameters_Exception extends Select_Exception { }
*
* How-to extend the class with a custom namespace:
*
- * class My_DI extends JeDI {
+ * class My_DI extends Select {
* const DEFAULT_NAMESPACE = 'My_';
* static protected $_namespace = self::DEFAULT_NAMESPACE;
* }
View
4 tests/lib/selectTest.php
@@ -25,8 +25,8 @@ class Select_Test extends PHPUnit_Framework_TestCase
*/
public function setUp()
{
- App_Builder::reset();
- App\Builder::reset();
+ $classes = $this->classUnderTest();
+ foreach ($classes as $class) $class[0]::reset();
}
/**

0 comments on commit 7d161d5

Please sign in to comment.
Something went wrong with that request. Please try again.