Skip to content
Snippets Groups Projects
Commit ec07415b authored by Adam G-H's avatar Adam G-H Committed by Ted Bowman
Browse files

Issue #3305527 by yash.rode, omkar.podey, phenaproxima, tedbow: Rename...

Issue #3305527 by yash.rode, omkar.podey, phenaproxima, tedbow: Rename test_theme to automatic_updates_extensions_test_theme
parent 10cfd1e1
No related branches found
No related tags found
1 merge request!438Issue #3305527: Rename test_theme to automatic_updates_extensions_test_theme
Showing
with 36 additions and 35 deletions
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<project xmlns:dc="http://purl.org/dc/elements/1.1/"> <project xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Test theme</title> <title>Automatic Updates Extensions Test Theme</title>
<short_name>test_theme</short_name> <short_name>automatic_updates_extensions_test_theme</short_name>
<dc:creator>drupal</dc:creator> <dc:creator>drupal</dc:creator>
<type>project_theme</type> <type>project_theme</type>
<supported_branches>8.x-2.,3.0.</supported_branches> <supported_branches>8.x-2.,3.0.</supported_branches>
<project_status>published</project_status> <project_status>published</project_status>
<link>http://example.com/project/test_theme</link> <link>http://example.com/project/automatic_updates_extensions_test_theme</link>
<terms> <terms>
<term> <term>
<name>Projects</name> <name>Projects</name>
...@@ -23,23 +23,23 @@ ...@@ -23,23 +23,23 @@
</terms> </terms>
<releases> <releases>
<release> <release>
<name>test_theme 3.0.0</name> <name>automatic_updates_extensions_test_theme 3.0.0</name>
<version>3.0.0</version> <version>3.0.0</version>
<tag>3.0.0</tag> <tag>3.0.0</tag>
<status>published</status> <status>published</status>
<release_link>http://example.com/test_theme/releases/3.0.0</release_link> <release_link>http://example.com/automatic_updates_extensions_test_theme/releases/3.0.0</release_link>
<download_link>http://example.com/test_theme-3.0.0.tar.gz</download_link> <download_link>http://example.com/automatic_updates_extensions_test_theme-3.0.0.tar.gz</download_link>
<date>1597793786</date> <date>1597793786</date>
<files> <files>
<file> <file>
<url>http://example.com/test_theme-3.0.0.tar.gz</url> <url>http://example.com/automatic_updates_extensions_test_theme-3.0.0.tar.gz</url>
<archive_type>tar.gz</archive_type> <archive_type>tar.gz</archive_type>
<md5>43956be126b27d718ecffd0b17244aa1</md5> <md5>43956be126b27d718ecffd0b17244aa1</md5>
<size>196080</size> <size>196080</size>
<filedate>1597793786</filedate> <filedate>1597793786</filedate>
</file> </file>
<file> <file>
<url>http://example.com/test_theme-3.0.0.zip</url> <url>http://example.com/automatic_updates_extensions_test_theme-3.0.0.zip</url>
<archive_type>zip</archive_type> <archive_type>zip</archive_type>
<md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5> <md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5>
<size>200399</size> <size>200399</size>
...@@ -50,23 +50,23 @@ ...@@ -50,23 +50,23 @@
<core_compatibility>^8 || ^9</core_compatibility> <core_compatibility>^8 || ^9</core_compatibility>
</release> </release>
<release> <release>
<name>test_theme 8.x-2.1</name> <name>automatic_updates_extensions_test_theme 8.x-2.1</name>
<version>8.x-2.1</version> <version>8.x-2.1</version>
<tag>8.x-2.1</tag> <tag>8.x-2.1</tag>
<status>published</status> <status>published</status>
<release_link>http://example.com/test_theme/releases/8.x-2.1</release_link> <release_link>http://example.com/automatic_updates_extensions_test_theme/releases/8.x-2.1</release_link>
<download_link>http://example.com/test_theme-8.x-2.1.tar.gz</download_link> <download_link>http://example.com/automatic_updates_extensions_test_theme-8.x-2.1.tar.gz</download_link>
<date>1597793786</date> <date>1597793786</date>
<files> <files>
<file> <file>
<url>http://example.com/test_theme-8.x-2.1.tar.gz</url> <url>http://example.com/automatic_updates_extensions_test_theme-8.x-2.1.tar.gz</url>
<archive_type>tar.gz</archive_type> <archive_type>tar.gz</archive_type>
<md5>43956be126b27d718ecffd0b17244aa1</md5> <md5>43956be126b27d718ecffd0b17244aa1</md5>
<size>196080</size> <size>196080</size>
<filedate>1597793786</filedate> <filedate>1597793786</filedate>
</file> </file>
<file> <file>
<url>http://example.com/test_theme-8.x-2.1.zip</url> <url>http://example.com/automatic_updates_extensions_test_theme-8.x-2.1.zip</url>
<archive_type>zip</archive_type> <archive_type>zip</archive_type>
<md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5> <md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5>
<size>200399</size> <size>200399</size>
...@@ -83,23 +83,23 @@ ...@@ -83,23 +83,23 @@
<core_compatibility>8.x</core_compatibility> <core_compatibility>8.x</core_compatibility>
</release> </release>
<release> <release>
<name>test_theme 8.x-2.0</name> <name>automatic_updates_extensions_test_theme 8.x-2.0</name>
<version>8.x-2.0</version> <version>8.x-2.0</version>
<tag>8.x-2.0</tag> <tag>8.x-2.0</tag>
<status>published</status> <status>published</status>
<release_link>http://example.com/test_theme/releases/8.x-2.0</release_link> <release_link>http://example.com/automatic_updates_extensions_test_theme/releases/8.x-2.0</release_link>
<download_link>http://example.com/test_theme-8.x-2.0.tar.gz</download_link> <download_link>http://example.com/automatic_updates_extensions_test_theme-8.x-2.0.tar.gz</download_link>
<date>1597793786</date> <date>1597793786</date>
<files> <files>
<file> <file>
<url>http://example.com/test_theme-8.x-2.0.tar.gz</url> <url>http://example.com/automatic_updates_extensions_test_theme-8.x-2.0.tar.gz</url>
<archive_type>tar.gz</archive_type> <archive_type>tar.gz</archive_type>
<md5>43956be126b27d718ecffd0b17244aa1</md5> <md5>43956be126b27d718ecffd0b17244aa1</md5>
<size>196080</size> <size>196080</size>
<filedate>1597793786</filedate> <filedate>1597793786</filedate>
</file> </file>
<file> <file>
<url>http://example.com/test_theme-8.x-2.0.zip</url> <url>http://example.com/automatic_updates_extensions_test_theme-8.x-2.0.zip</url>
<archive_type>zip</archive_type> <archive_type>zip</archive_type>
<md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5> <md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5>
<size>200399</size> <size>200399</size>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"version": "2.1.0", "version": "2.1.0",
"type": "drupal-module" "type": "drupal-module"
},{ },{
"name": "drupal/test_theme", "name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0", "version": "2.0.0",
"type": "drupal-theme" "type": "drupal-theme"
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"extra": { "extra": {
"_readme": [ "_readme": [
"This fixture assumes that ../../two_projects is active directory for the test.", "This fixture assumes that ../../two_projects is active directory for the test.",
"Simulates a stage directory in which test_theme is updated." "Simulates a stage directory in which automatic_updates_extensions_test_theme is updated."
] ]
} }
} }
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"type": "drupal-module" "type": "drupal-module"
}, },
{ {
"name": "drupal/test_theme", "name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.1.0", "version": "2.1.0",
"type": "drupal-theme" "type": "drupal-theme"
} }
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
$projects_dir = __DIR__ . '/../../web/projects'; $projects_dir = __DIR__ . '/../../web/projects';
return [ return [
'versions' => [ 'versions' => [
'drupal/test_theme' => [ 'drupal/automatic_updates_extensions_test_theme' => [
'type' => 'drupal-module', 'type' => 'drupal-theme',
'install_path' => $projects_dir . '/test_theme', 'install_path' => $projects_dir . '/automatic_updates_extensions_test_theme',
], ],
'drupal/semver_test' => [ 'drupal/semver_test' => [
'type' => 'drupal-module', 'type' => 'drupal-module',
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"type": "drupal-module" "type": "drupal-module"
}, },
{ {
"name": "drupal/test_theme", "name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0", "version": "2.0.0",
"type": "drupal-theme" "type": "drupal-theme"
} }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"type": "drupal-module" "type": "drupal-module"
}, },
{ {
"name": "drupal/test_theme", "name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0", "version": "2.0.0",
"type": "drupal-theme" "type": "drupal-theme"
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"version": "9.8.1" "version": "9.8.1"
}, },
{ {
"name": "drupal/test_theme", "name": "drupal/automatic_updates_extensions_test_theme",
"version": "9.8.1" "version": "9.8.1"
} }
] ]
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"type": "drupal-module" "type": "drupal-module"
}, },
{ {
"name": "drupal/test_theme", "name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0", "version": "2.0.0",
"type": "drupal-theme" "type": "drupal-theme"
} }
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
$projects_dir = __DIR__ . '/../../web/projects'; $projects_dir = __DIR__ . '/../../web/projects';
return [ return [
'versions' => [ 'versions' => [
'drupal/test_theme' => [ 'drupal/automatic_updates_extensions_test_theme' => [
'type' => 'drupal-module', 'type' => 'drupal-theme',
'install_path' => $projects_dir . '/test_theme', 'install_path' => $projects_dir . '/automatic_updates_extensions_test_theme',
], ],
'drupal/semver_test' => [ 'drupal/semver_test' => [
'type' => 'drupal-module', 'type' => 'drupal-module',
......
...@@ -58,7 +58,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase { ...@@ -58,7 +58,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
FALSE, 'aaa_update_test', 'AAA Update test', '8.x-2.0', '8.x-2.1', FALSE, 'aaa_update_test', 'AAA Update test', '8.x-2.0', '8.x-2.1',
], ],
'maintenance mode off, legacy theme' => [ 'maintenance mode off, legacy theme' => [
FALSE, 'test_theme', 'Test theme', '8.x-2.0', '8.x-2.1', FALSE, 'automatic_updates_extensions_test_theme', 'Automatic Updates Extensions Test Theme', '8.x-2.0', '8.x-2.1',
], ],
]; ];
} }
...@@ -155,7 +155,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase { ...@@ -155,7 +155,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
// By default, the Update module only checks for updates of installed // By default, the Update module only checks for updates of installed
// modules and themes. The two modules we're testing here (semver_test and // modules and themes. The two modules we're testing here (semver_test and
// aaa_update_test) are already installed by static::$modules. // aaa_update_test) are already installed by static::$modules.
$this->container->get('theme_installer')->install(['test_theme']); $this->container->get('theme_installer')->install(['automatic_updates_extensions_test_theme']);
$this->useFixtureDirectoryAsStaged(__DIR__ . '/../../fixtures/stage_composer/' . $project_name); $this->useFixtureDirectoryAsStaged(__DIR__ . '/../../fixtures/stage_composer/' . $project_name);
$this->setReleaseMetadata(__DIR__ . '/../../../../package_manager/tests/fixtures/release-history/drupal.9.8.2.xml'); $this->setReleaseMetadata(__DIR__ . '/../../../../package_manager/tests/fixtures/release-history/drupal.9.8.2.xml');
$this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/' . $project_name . '.1.1.xml'); $this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/' . $project_name . '.1.1.xml');
......
...@@ -5,3 +5,4 @@ syncer ...@@ -5,3 +5,4 @@ syncer
syncers syncers
kirk kirk
unwritable unwritable
filedate
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment