analyze code coverage link on same line as the other test links,

fixing wrong security expectation

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6836 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
DarkAngelBGE 2008-05-13 06:36:38 +00:00
parent 4b91712791
commit f420d1494e
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ class SecurityTest extends UnitTestCase {
$this->assertIdentical(strlen(Security::hash($key, null, true)), 32);
if (function_exists('sha256')) {
if (function_exists('mhash')) {
$this->assertIdentical(strlen(Security::hash($key, 'sha256', false)), 64);
$this->assertIdentical(strlen(Security::hash($key, 'sha256', true)), 64);
} else {

View file

@ -455,7 +455,7 @@ if (function_exists('caketestsgetreporter')) {
$query .= '&plugin=' . $_GET['plugin'];
}
}
echo "<p><a href='" . RUN_TEST_LINK . $show . "'>Run more tests</a> | <a href='" . RUN_TEST_LINK . $query . "&show_passes=1'>Show Passes</a></p>\n";
echo "<p><a href='" . RUN_TEST_LINK . $show . "'>Run more tests</a> | <a href='" . RUN_TEST_LINK . $query . "&show_passes=1'>Show Passes</a> | \n";
break;
}
}
@ -479,7 +479,7 @@ if (function_exists('caketestsgetreporter')) {
}
}
$query .= '&amp;code_coverage=true';
echo "<p><a href='" . RUN_TEST_LINK . $query . "'>Analyze Code Coverage</a></p>\n";
echo " <a href='" . RUN_TEST_LINK . $query . "'>Analyze Code Coverage</a></p>\n";
break;
}
}