diff -u modules/simpletest/tests/upgrade/upgrade.filter.test modules/simpletest/tests/upgrade/upgrade.filter.test --- modules/simpletest/tests/upgrade/upgrade.filter.test +++ modules/simpletest/tests/upgrade/upgrade.filter.test 22 Oct 2010 15:19:36 -0000 @@ -11,13 +11,13 @@ class FilterFormatUpgradePathTestCase extends UpgradePathTestCase { public static function getInfo() { return array( - 'name' => 'Filter format upgrade path', - 'description' => 'Verifies that filter formats and references to filter formats are converted properly.', + 'name' => 'Filter format upgrade path', + 'description' => 'Verifies that filter formats and references to filter formats are converted properly.', 'group' => 'Upgrade path', ); } - public function setUp() { + function setUp() { // Path to the database dump. $this->databaseDumpFiles = array( drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.filled.database.php', @@ -28,7 +28,7 @@ /** * Test a successful upgrade. */ - public function testFilterFormatUpgrade() { + function testFilterFormatUpgrade() { $this->assertTrue($this->performUpgrade(), t('The upgrade was completed successfully.')); $format = filter_format_load('1'); @@ -45,12 +45,12 @@ $this->assertTrue($account->signature_format == 'test_filter', t('Signature format changed successfully to a filter format with machine name.')); $delta = db_insert('block_custom') - ->fields(array( - 'body' => 'Test block', - 'info' => 'Test block', - 'format' => 'test_filter', - )) - ->execute(); + ->fields(array( + 'body' => 'Test block', + 'info' => 'Test block', + 'format' => 'test_filter', + )) + ->execute(); $this->assertTrue($delta > 0, t('Created a custom block using a filter format with machine name.')); } }