Commit a0c2adec authored by Pavel Puchkin's avatar Pavel Puchkin

One more fix - wrong property name

parent cf901340
...@@ -134,7 +134,7 @@ class IoCTest extends PHPUnit_Framework_TestCase { ...@@ -134,7 +134,7 @@ class IoCTest extends PHPUnit_Framework_TestCase {
public function testClassTwoResolvesClassOneDependency() public function testClassTwoResolvesClassOneDependency()
{ {
$test = IoC::resolve('TestClassTwoForIoC'); $test = IoC::resolve('TestClassTwoForIoC');
$this->assertInstanceOf('TestClassOneForIoC', $test->TestClassOneForIoC); $this->assertInstanceOf('TestClassOneForIoC', $test->class_one);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment