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
No related merge requests found
Showing
with 36 additions and 35 deletions
<?xml version="1.0" encoding="utf-8"?>
<project xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Test theme</title>
<short_name>test_theme</short_name>
<title>Automatic Updates Extensions Test Theme</title>
<short_name>automatic_updates_extensions_test_theme</short_name>
<dc:creator>drupal</dc:creator>
<type>project_theme</type>
<supported_branches>8.x-2.,3.0.</supported_branches>
<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>
<term>
<name>Projects</name>
......@@ -23,23 +23,23 @@
</terms>
<releases>
<release>
<name>test_theme 3.0.0</name>
<name>automatic_updates_extensions_test_theme 3.0.0</name>
<version>3.0.0</version>
<tag>3.0.0</tag>
<status>published</status>
<release_link>http://example.com/test_theme/releases/3.0.0</release_link>
<download_link>http://example.com/test_theme-3.0.0.tar.gz</download_link>
<release_link>http://example.com/automatic_updates_extensions_test_theme/releases/3.0.0</release_link>
<download_link>http://example.com/automatic_updates_extensions_test_theme-3.0.0.tar.gz</download_link>
<date>1597793786</date>
<files>
<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>
<md5>43956be126b27d718ecffd0b17244aa1</md5>
<size>196080</size>
<filedate>1597793786</filedate>
</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>
<md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5>
<size>200399</size>
......@@ -50,23 +50,23 @@
<core_compatibility>^8 || ^9</core_compatibility>
</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>
<tag>8.x-2.1</tag>
<status>published</status>
<release_link>http://example.com/test_theme/releases/8.x-2.1</release_link>
<download_link>http://example.com/test_theme-8.x-2.1.tar.gz</download_link>
<release_link>http://example.com/automatic_updates_extensions_test_theme/releases/8.x-2.1</release_link>
<download_link>http://example.com/automatic_updates_extensions_test_theme-8.x-2.1.tar.gz</download_link>
<date>1597793786</date>
<files>
<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>
<md5>43956be126b27d718ecffd0b17244aa1</md5>
<size>196080</size>
<filedate>1597793786</filedate>
</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>
<md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5>
<size>200399</size>
......@@ -83,23 +83,23 @@
<core_compatibility>8.x</core_compatibility>
</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>
<tag>8.x-2.0</tag>
<status>published</status>
<release_link>http://example.com/test_theme/releases/8.x-2.0</release_link>
<download_link>http://example.com/test_theme-8.x-2.0.tar.gz</download_link>
<release_link>http://example.com/automatic_updates_extensions_test_theme/releases/8.x-2.0</release_link>
<download_link>http://example.com/automatic_updates_extensions_test_theme-8.x-2.0.tar.gz</download_link>
<date>1597793786</date>
<files>
<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>
<md5>43956be126b27d718ecffd0b17244aa1</md5>
<size>196080</size>
<filedate>1597793786</filedate>
</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>
<md5>5d24ec88ac4755af6ccbe6ef5ff8b3c9</md5>
<size>200399</size>
......
......@@ -20,7 +20,7 @@
"version": "2.1.0",
"type": "drupal-module"
},{
"name": "drupal/test_theme",
"name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0",
"type": "drupal-theme"
}
......
......@@ -2,7 +2,7 @@
"extra": {
"_readme": [
"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 @@
"type": "drupal-module"
},
{
"name": "drupal/test_theme",
"name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.1.0",
"type": "drupal-theme"
}
......
......@@ -7,9 +7,9 @@
$projects_dir = __DIR__ . '/../../web/projects';
return [
'versions' => [
'drupal/test_theme' => [
'type' => 'drupal-module',
'install_path' => $projects_dir . '/test_theme',
'drupal/automatic_updates_extensions_test_theme' => [
'type' => 'drupal-theme',
'install_path' => $projects_dir . '/automatic_updates_extensions_test_theme',
],
'drupal/semver_test' => [
'type' => 'drupal-module',
......
......@@ -21,7 +21,7 @@
"type": "drupal-module"
},
{
"name": "drupal/test_theme",
"name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0",
"type": "drupal-theme"
}
......
......@@ -21,7 +21,7 @@
"type": "drupal-module"
},
{
"name": "drupal/test_theme",
"name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0",
"type": "drupal-theme"
}
......
......@@ -16,7 +16,7 @@
"version": "9.8.1"
},
{
"name": "drupal/test_theme",
"name": "drupal/automatic_updates_extensions_test_theme",
"version": "9.8.1"
}
]
......
......@@ -21,7 +21,7 @@
"type": "drupal-module"
},
{
"name": "drupal/test_theme",
"name": "drupal/automatic_updates_extensions_test_theme",
"version": "2.0.0",
"type": "drupal-theme"
}
......
......@@ -7,9 +7,9 @@
$projects_dir = __DIR__ . '/../../web/projects';
return [
'versions' => [
'drupal/test_theme' => [
'type' => 'drupal-module',
'install_path' => $projects_dir . '/test_theme',
'drupal/automatic_updates_extensions_test_theme' => [
'type' => 'drupal-theme',
'install_path' => $projects_dir . '/automatic_updates_extensions_test_theme',
],
'drupal/semver_test' => [
'type' => 'drupal-module',
......
......@@ -58,7 +58,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
FALSE, 'aaa_update_test', 'AAA Update test', '8.x-2.0', '8.x-2.1',
],
'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 {
// By default, the Update module only checks for updates of installed
// modules and themes. The two modules we're testing here (semver_test and
// 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->setReleaseMetadata(__DIR__ . '/../../../../package_manager/tests/fixtures/release-history/drupal.9.8.2.xml');
$this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/' . $project_name . '.1.1.xml');
......
......@@ -5,3 +5,4 @@ syncer
syncers
kirk
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