Skip to content
This repository
Browse code

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...
commit 99a2fa439c4d82c6e7621fe4adb73f376420b8d3 1 parent 8eade1a
Mark Story authored December 17, 2008
5  cake/tests/cases/libs/configure.test.php
@@ -68,6 +68,7 @@ function tearDown() {
68 68
 		if (file_exists(TMP . 'cache' . DS . 'persistent' . DS . 'test.php')) {
69 69
 			unlink(TMP . 'cache' . DS . 'persistent' . DS . 'test.php');
70 70
 		}
  71
+		Configure::write('debug', 2);
71 72
 		parent::tearDown();
72 73
 	}
73 74
 /**
@@ -501,9 +502,9 @@ function testLoadingVendor() {
501 502
 		$this->assertTrue($result);
502 503
 		$this->assertTrue(class_exists('SamplePluginClassTestName'));
503 504
 
504  
-		$result = App::import('Vendor', 'Sample');
  505
+		$result = App::import('Vendor', 'ConfigureTestVendorSample');
505 506
 		$this->assertTrue($result);
506  
-		$this->assertTrue(class_exists('SampleClassTestName'));
  507
+		$this->assertTrue(class_exists('ConfigureTestVendorSample'));
507 508
 
508 509
 		ob_start();
509 510
 		$result = App::import('Vendor', 'SomeName', array('file' => 'some.name.php'));
2  cake/tests/test_app/vendors/sample/sample.php → ...p/vendors/sample/configure_test_vendor_sample.php
@@ -24,6 +24,6 @@
24 24
  * @lastmodified  $Date$
25 25
  * @license       http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
26 26
  */
27  
-class SampleClassTestName {
  27
+class ConfigureTestVendorSample {
28 28
 }
29 29
 ?>

0 notes on commit 99a2fa4

Please sign in to comment.
Something went wrong with that request. Please try again.