1
0
mirror of synced 2025-03-20 15:03:53 +03:00

[2.0] Added unit tests for CLI Configuration. Fixed hasAttrbibute() issue of undefined property.

This commit is contained in:
guilhermeblanco 2010-01-18 02:02:15 +00:00
parent 0cdb799545
commit 4d88f40c81
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,6 @@ class Configuration
*/
public function hasAttribute($name)
{
return isset($this->_attribute[$name]);
return isset($this->_attributes[$name]);
}
}

View File

@ -19,6 +19,7 @@ class AllTests
{
$suite = new \Doctrine\Tests\DoctrineTestSuite('Doctrine Common CLI Tests');
$suite->addTestSuite('Doctrine\Tests\Common\Cli\ConfigurationTest');
$suite->addTestSuite('Doctrine\Tests\Common\Cli\OptionTest');
$suite->addTestSuite('Doctrine\Tests\Common\Cli\OptionGroupTest');
$suite->addTestSuite('Doctrine\Tests\Common\Cli\StyleTest');