public function FileTransferAuthorizeFormTest::archiveFileUrlProvider in Drupal 10
Same name and namespace in other branches
- 8 core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php \Drupal\Tests\update\Functional\FileTransferAuthorizeFormTest::archiveFileUrlProvider()
- 9 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 78
Class
- FileTransferAuthorizeFormTest
- Tests the Update Manager module upload via authorize.php functionality.
Namespace
Drupal\Tests\update\FunctionalCode
public 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',
],
];
}