Skip to content
Permalink
Browse files

Fixing Sanitize test to run under PHPUnit.

  • Loading branch information...
markstory committed May 21, 2010
1 parent 0759c0b commit df6989e3d66e711ef62db4ec4332e90d281586fe
Showing with 2 additions and 12 deletions.
  1. +2 −12 cake/tests/cases/libs/sanitize.test.php
@@ -93,18 +93,6 @@ class SanitizeTest extends CakeTestCase {
*/
public $fixtures = array('core.data_test', 'core.article');
/**
* startTest method
*
* @param mixed $method
* @access public
* @return void
*/
function startTest($method) {
parent::startTest($method);
$this->_initDb();
}
/**
* testEscapeAlphaNumeric method
*
@@ -430,6 +418,8 @@ function testStripTags() {
* @return void
*/
function testFormatColumns() {
$this->autoFixtures = true;
$this->sharedFixture->load($this);
$this->loadFixtures('DataTest', 'Article');
$this->DataTest =& new SanitizeDataTest(array('alias' => 'DataTest'));

0 comments on commit df6989e

Please sign in to comment.
You can’t perform that action at this time.