Browse Source

One more fix - wrong property name

Pavel Puchkin 11 years ago
parent
commit
a0c2adecdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/tests/cases/ioc.test.php

+ 1 - 1
laravel/tests/cases/ioc.test.php

@@ -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);
 	}
 
 	/**