diff --git a/tests/src/Kernel/EntityStringIdTest.php b/tests/src/Kernel/EntityStringIdTest.php index e3ccf2d..3b29241 100644 --- a/tests/src/Kernel/EntityStringIdTest.php +++ b/tests/src/Kernel/EntityStringIdTest.php @@ -12,7 +12,7 @@ use Drupal\search_api\Entity\Server; * * Current limit of the search_api ID is 50 characters. The format of the * saved item is entity:/:. - + * * @group search_api */ class EntityStringIdTest extends KernelTestBase { @@ -39,9 +39,7 @@ class EntityStringIdTest extends KernelTestBase { protected $index; /** - * Modules to enable for this test. - * - * @var string[] + * {@inheritdoc} */ public static $modules = array( 'search_api', @@ -147,10 +145,10 @@ class EntityStringIdTest extends KernelTestBase { * An array of arrays which contain a list of parameters to be * passed to the appropriate tests. */ - function entityStringIdList() { + public function entityStringIdList() { return array( - ['short_string_id'], // Normal string matched by \w regex code. - ['http://drupal.org'], // Uri string not matched by \w regex code. + array('short_string_id'), // Normal string matched by \w regex code. + array('http://drupal.org'), // Uri string not matched by \w regex code. ); } }