Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/link/tests/src/Functional/LinkFieldTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
145 'entity:user/999999' => 'entity:user/999999', | 145 'entity:user/999999' => 'entity:user/999999', |
146 ]; | 146 ]; |
147 | 147 |
148 // Define some invalid URLs. | 148 // Define some invalid URLs. |
149 $validation_error_1 = "The path '@link_path' is invalid."; | 149 $validation_error_1 = "The path '@link_path' is invalid."; |
150 $validation_error_2 = 'Manually entered paths should start with /, ? or #.'; | 150 $validation_error_2 = 'Manually entered paths should start with one of the following characters: / ? #'; |
151 $validation_error_3 = "The path '@link_path' is inaccessible."; | 151 $validation_error_3 = "The path '@link_path' is inaccessible."; |
152 $invalid_external_entries = [ | 152 $invalid_external_entries = [ |
153 // Invalid protocol | 153 // Invalid protocol |
154 'invalid://not-a-valid-protocol' => $validation_error_1, | 154 'invalid://not-a-valid-protocol' => $validation_error_1, |
155 // Missing host name | 155 // Missing host name |