[2.0] Added unit tests for CLI Configuration. Fixed hasAttrbibute() issue of undefined property.
This commit is contained in:
parent
0cdb799545
commit
4d88f40c81
@ -81,6 +81,6 @@ class Configuration
|
||||
*/
|
||||
public function hasAttribute($name)
|
||||
{
|
||||
return isset($this->_attribute[$name]);
|
||||
return isset($this->_attributes[$name]);
|
||||
}
|
||||
}
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user