function FileTransferAuthorizeFormTest::archiveFileUrlProvider
Same name in other branches
- 9 core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php \Drupal\Tests\update\Functional\FileTransferAuthorizeFormTest::archiveFileUrlProvider()
- 8.9.x core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php \Drupal\Tests\update\Functional\FileTransferAuthorizeFormTest::archiveFileUrlProvider()
- 10 core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php \Drupal\Tests\update\Functional\FileTransferAuthorizeFormTest::archiveFileUrlProvider()
Data provider method for testViaAuthorize().
Each of these release URLs has been cached in the setUp() method.
File
-
core/
modules/ update/ tests/ src/ Functional/ FileTransferAuthorizeFormTest.php, line 76
Class
- FileTransferAuthorizeFormTest
- Tests the Update Manager module upload via authorize.php functionality.
Namespace
Drupal\Tests\update\FunctionalCode
public static function archiveFileUrlProvider() {
return [
'tar.gz' => [
'url' => 'https://ftp.drupal.org/files/projects/update_test_new_module.tar.gz',
],
'zip' => [
'url' => 'https://ftp.drupal.org/files/projects/update_test_new_module.zip',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.