*
* @var array
*/
- public static $modules = ['entity_test', 'link', 'node'];
+ public static $modules = [
+ 'entity_test',
+ 'link',
+ 'node',
+ 'link_test_base_field',
+ ];
/**
* A field to use in this test class.
"{$field_name}[0][uri]" => 'http://www.example.com',
];
$this->drupalPostForm(NULL, $edit, t('Save'));
- $this->assertText(t('@name field is required.', ['@name' => t('Link text')]));
+ $this->assertText(t('@title field is required if there is @uri input.', ['@title' => t('Link text'), '@uri' => t('URL')]));
// Verify that the link text is not required, if the URL is empty.
$edit = [