Mercurial > hg > isophonics-drupal-site
diff core/modules/link/tests/src/Functional/LinkFieldTest.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | c2387f117808 |
line wrap: on
line diff
--- a/core/modules/link/tests/src/Functional/LinkFieldTest.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/link/tests/src/Functional/LinkFieldTest.php Mon Apr 23 09:46:53 2018 +0100 @@ -24,7 +24,12 @@ * * @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. @@ -282,7 +287,7 @@ "{$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 = [