|
|
@@ -84,7 +84,7 @@ class ComponentCollectionTest extends CakeTestCase {
|
|
|
$result = $this->Components->load('Cookie');
|
|
|
$this->assertInstanceOf('CookieAliasComponent', $result);
|
|
|
|
|
|
- App::build(array('plugins' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)));
|
|
|
+ App::build(array('plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)));
|
|
|
$result = $this->Components->load('SomeOther', array('className' => 'TestPlugin.OtherComponent'));
|
|
|
$this->assertInstanceOf('OtherComponentComponent', $result);
|
|
|
$this->assertInstanceOf('OtherComponentComponent', $this->Components->SomeOther);
|
|
|
@@ -109,7 +109,7 @@ class ComponentCollectionTest extends CakeTestCase {
|
|
|
/**
|
|
|
* test missingcomponent exception
|
|
|
*
|
|
|
- * @expectedException MissingComponentFileException
|
|
|
+ * @expectedException MissingComponentClassException
|
|
|
* @return void
|
|
|
*/
|
|
|
function testLoadMissingComponentFile() {
|