- window.confirm fallbacks for page template removed

- page template removed from configuration-test-generator
This commit is contained in:
Ribas160 2025-07-03 13:13:42 +03:00
parent 3d3d80c60b
commit 692e7af196
4 changed files with 47 additions and 86 deletions

View file

@ -164,14 +164,14 @@ new ConfigurationTestGenerator(array(
),
'main/template' => array(
array(
'setting' => 'page',
'setting' => 'bootstrap5',
'tests' => array(
array(
'type' => 'MatchesRegularExpression',
'args' => array(
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap5/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
'$content',
'outputs "page" stylesheet correctly',
'outputs "bootstrap5" stylesheet correctly',
),
), array(
'type' => 'DoesNotMatchRegularExpression',
@ -189,9 +189,9 @@ new ConfigurationTestGenerator(array(
array(
'type' => 'DoesNotMatchRegularExpression',
'args' => array(
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap5/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
'$content',
'removes "page" stylesheet correctly',
'removes "bootstrap5" stylesheet correctly',
),
), array(
'type' => 'MatchesRegularExpression',