Merge pull request #209246 from e1mo/dokuwiki/package-overriding

dokuwiki: Combine mechanism for plugins and templates
This commit is contained in:
Ryan Lahfa 2023-01-18 00:51:18 +01:00 committed by GitHub
commit eb6d457115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 22 deletions

View file

@ -143,6 +143,14 @@ in {
"curl -sSfL 'http://site2.local/doku.php?id=plugin-list' | (! grep 'plugin:tag')",
)
# Test if theme is applied and working correctly (no weired relative PHP import errors)
machine.succeed(
"curl -sSfL 'http://site1.local/doku.php' | grep 'bootstrap3/images/logo.png'",
"curl -sSfL 'http://site1.local/lib/exe/css.php' | grep 'bootstrap3'",
"curl -sSfL 'http://site1.local/lib/tpl/bootstrap3/css.php'",
)
# Just to ensure both Webserver configurations are consistent in allowing that
with subtest("Rewriting"):
machine.succeed(