PathFieldDefinitionTest.php in Drupal 10
File
core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php
View source
<?php
namespace Drupal\Tests\path\Unit\Field;
use Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase;
class PathFieldDefinitionTest extends BaseFieldDefinitionTestBase {
protected function getPluginId() {
return 'path';
}
protected function getModuleAndPath() {
return [
'path',
dirname(__DIR__, 4),
];
}
public function testGetColumns() {
$this
->assertSame([], $this->definition
->getColumns());
}
}