Mercurial > hg > isophonics-drupal-site
view core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Tests\path\Unit\Field; use Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase; /** * @coversDefaultClass \Drupal\Core\Field\BaseFieldDefinition * @group path */ class PathFieldDefinitionTest extends BaseFieldDefinitionTestBase { /** * {@inheritdoc} */ protected function getPluginId() { return 'path'; } /** * {@inheritdoc} */ protected function getModuleAndPath() { return ['path', dirname(dirname(dirname(dirname(__DIR__))))]; } /** * @covers ::getColumns * @covers ::getSchema */ public function testGetColumns() { $this->assertSame([], $this->definition->getColumns()); } }