diff --git a/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatMethodsTest.php b/core/modules/filter/src/Tests/FilterFormatMethodsTest.php similarity index 96% rename from core/modules/filter/lib/Drupal/filter/Tests/FilterFormatMethodsTest.php rename to core/modules/filter/src/Tests/FilterFormatMethodsTest.php index 22cbbfd..148da9c 100644 --- a/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatMethodsTest.php +++ b/core/modules/filter/src/Tests/FilterFormatMethodsTest.php @@ -2,12 +2,13 @@ /** * @file - * Definition of \Drupal\filter\Tests\FilterFormatMethodsTest. + * Contains \Drupal\filter\Tests\FilterFormatMethodsTest. */ namespace Drupal\filter\Tests; use Drupal\simpletest\KernelTestBase; + /** * Tests get and set methods on text format interface. * @@ -32,7 +33,7 @@ class FilterFormatMethodsTest extends KernelTestBase { /** * {@inheritdoc} */ - function setUp() { + public function setUp() { parent::setUp(); $this->format = entity_create('filter_format', array()); @@ -73,4 +74,5 @@ function testIsCacheable() { $this->assertIdentical(spl_object_hash($this->format->setCache($is_cacheable)), spl_object_hash($this->format), format_string('Test cache set method for text format %format.', array('%format' => $this->format->name))); $this->assertIdentical($this->format->isCacheable(), $is_cacheable, format_string('Test cache get method for text format %format.', array('%format' => $this->format->name))); } + }