protected function FileUrlWidgetTest::randomUrl in File URL 2.0.x
Same name and namespace in other branches
- 8 tests/src/FunctionalJavascript/FileUrlWidgetTest.php \Drupal\Tests\file_url\FunctionalJavascript\FileUrlWidgetTest::randomUrl()
Generates a testing remote URL.
Return value
string A random remote URL.
1 call to FileUrlWidgetTest::randomUrl()
- FileUrlWidgetTest::testFileUrlWidget in tests/
src/ FunctionalJavascript/ FileUrlWidgetTest.php - Tests the file URL widget.
File
- tests/
src/ FunctionalJavascript/ FileUrlWidgetTest.php, line 241
Class
- FileUrlWidgetTest
- Tests the file URL widget.
Namespace
Drupal\Tests\file_url\FunctionalJavascriptCode
protected function randomUrl() {
return 'http://example.com/' . $this
->randomMachineName();
}