Overrides \Drupal\views\Tests\ViewTestBase::viewsData().
Adds a relationship for the uid column.
Overrides ViewTestBase::viewsData
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['uid'] = array(
'title' => t('UID'),
'help' => t('The test data UID'),
'relationship' => array(
'id' => 'standard',
'base' => 'users',
'base field' => 'uid',
),
);
return $data;
}