1 installer.test | InstallerTestUploadCase::testFileNameExtensionMerging() |
Ensures that archiver extensions are properly merged in the UI.
File
- core/
modules/ installer/ tests/ installer.test, line 242
Class
Code
function testFileNameExtensionMerging() {
$this->backdropGet('admin/installer/manual');
// Make sure the bogus extension supported by installer_test.module is there.
$this->assertPattern('/file extensions are supported:.*installer-test-extension/', "Found 'installer-test-extension' extension");
// Make sure it didn't clobber the first option from core.
$this->assertPattern('/file extensions are supported:.*tar/', "Found 'tar' extension");
}