One more fix - wrong property name

This commit is contained in:
Pavel Puchkin
2013-03-12 16:16:45 +11:00
parent cf9013403b
commit a0c2adecdc

View File

@@ -134,7 +134,7 @@ class IoCTest extends PHPUnit_Framework_TestCase {
public function testClassTwoResolvesClassOneDependency()
{
$test = IoC::resolve('TestClassTwoForIoC');
$this->assertInstanceOf('TestClassOneForIoC', $test->TestClassOneForIoC);
$this->assertInstanceOf('TestClassOneForIoC', $test->class_one);
}
/**