PathFieldDefinitionTest.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\Tests\path\Unit\FieldFile
core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.phpView source
<?php
/**
* @file
* Contains \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest.
*/
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 array(
'path',
dirname(dirname(dirname(dirname(__DIR__)))),
);
}
/**
* @covers ::getColumns
* @covers ::getSchema
*/
public function testGetColumns() {
$this
->assertSame(array(), $this->definition
->getColumns());
}
}
Classes
Name![]() |
Description |
---|---|
PathFieldDefinitionTest | @coversDefaultClass \Drupal\Core\Field\BaseFieldDefinition @group path |