Skip to content

Commit a19572f

Browse files
authored
[#2411] Added test to skip overriding non-Vortex custom theme. (#2419)
1 parent 1283c79 commit a19572f

36 files changed

Lines changed: 127 additions & 3 deletions

β€Ž.vortex/installer/src/Prompts/Handlers/Theme.phpβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,6 @@ public function process(): void {
172172
$file_tmpl = static::findThemeFile($t, $w);
173173
if (!empty($file_tmpl) && is_readable($file_tmpl)) {
174174
File::remove(dirname($file_tmpl));
175-
176-
File::removeLineInFile($t . '/phpunit.xml', '<directory suffix="Test.php">web/themes/custom</directory>');
177-
File::removeLineInFile($t . '/phpunit.xml', '<directory>web/themes/custom/*/node_modules</directory>');
178175
}
179176
}
180177

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@@ -160,7 +160,7 @@
2+
# Database dump file sourced from a URL.
3+
#
4+
# HTTP Basic Authentication credentials should be embedded into the value.
5+
-VORTEX_DOWNLOAD_DB_URL=
6+
+VORTEX_DOWNLOAD_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db_d11.demo.sql
7+
8+
# Environment to download the database from.
9+
#

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-.eslintrc.jsonβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-.gitignoreβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-.npmrcβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-.prettierignoreβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-.prettierrc.jsonβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-.stylelintrc.jsonβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-README.mdβ€Ž

Whitespace-only changes.

β€Ž.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/web/themes/custom/star_wars/-logo.svgβ€Ž

Loading

0 commit comments

Comments
Β (0)