diff -u b/tests/src/Kernel/FieldTest.php b/tests/src/Kernel/FieldTest.php --- b/tests/src/Kernel/FieldTest.php +++ b/tests/src/Kernel/FieldTest.php @@ -46,7 +46,7 @@ * * @var array */ - public static $modules = ['node', 'text', 'field', 'filter', 'contact', 'options', 'taxonomy', 'language', 'datetime', 'datetime_range']; + public static $modules = ['node', 'text', 'field', 'filter', 'contact', 'options', 'taxonomy', 'language', 'datetime', 'datetime_range', 'path']; /** * {@inheritdoc} @@ -441,8 +441,11 @@ $this->assertEquals($token_info['description'], 'Text (plain) field.'); $this->assertEquals($token_info['module'], 'token'); - // Verify that node entity type has a uid token. + // Verify that node entity type has the uid token, a stored base field. $this->assertNotNull($tokenService->getTokenInfo('node', 'uid')); + + // Verify that node entity type has the path token, a computed base field. + $this->assertNotNull($tokenService->getTokenInfo('node', 'path')); } /*