Permalink
Browse files

Fixing errors in Configure test.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7928 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
1 parent 8eade1a commit 99a2fa439c4d82c6e7621fe4adb73f376420b8d3 @markstory markstory committed Dec 17, 2008
@@ -68,6 +68,7 @@ function tearDown() {
if (file_exists(TMP . 'cache' . DS . 'persistent' . DS . 'test.php')) {
unlink(TMP . 'cache' . DS . 'persistent' . DS . 'test.php');
}
+ Configure::write('debug', 2);
parent::tearDown();
}
/**
@@ -501,9 +502,9 @@ function testLoadingVendor() {
$this->assertTrue($result);
$this->assertTrue(class_exists('SamplePluginClassTestName'));
- $result = App::import('Vendor', 'Sample');
+ $result = App::import('Vendor', 'ConfigureTestVendorSample');
$this->assertTrue($result);
- $this->assertTrue(class_exists('SampleClassTestName'));
+ $this->assertTrue(class_exists('ConfigureTestVendorSample'));
ob_start();
$result = App::import('Vendor', 'SomeName', array('file' => 'some.name.php'));
@@ -24,6 +24,6 @@
* @lastmodified $Date$
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
-class SampleClassTestName {
+class ConfigureTestVendorSample {
}
?>

0 comments on commit 99a2fa4

Please sign in to comment.