mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-03 20:14:27 -04:00
- window.confirm fallbacks for page template removed
- page template removed from configuration-test-generator
This commit is contained in:
parent
3d3d80c60b
commit
692e7af196
4 changed files with 47 additions and 86 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue