Browse Source

Unskip test.

The path to the file was wrong, so the test was skipped.
mark_story 11 years ago
parent
commit
22d2e326c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Validation/ValidationTest.php

+ 1 - 1
tests/TestCase/Validation/ValidationTest.php

@@ -2361,7 +2361,7 @@ class ValidationTest extends TestCase {
  * @return void
  */
 	public function testMimeType() {
-		$image = CORE_PATH . 'Cake/Test/TestApp/webroot/img/cake.power.gif';
+		$image = CORE_TESTS . 'test_app/webroot/img/cake.power.gif';
 		$File = new File($image, false);
 
 		$this->skipIf(!$File->mime(), 'Cannot determine mimeType');