test: default value for email configuration item;nit necessary to close php comment

::by sergio giraldo
@ 20230910T0958CEST, gpg signed
This commit is contained in:
Sergio Giraldo 2023-09-10 09:58:04 +02:00
parent c665385ff6
commit 6728053ab0
No known key found for this signature in database
GPG Key ID: E48B17136B7A42DE
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
;<?php http_response_code(403); ;<?php http_response_code(403); /*
/*
; config file for PrivateBin ; config file for PrivateBin
; ;
; An explanation of each setting can be find online at https://github.com/PrivateBin/PrivateBin/wiki/Configuration. ; An explanation of each setting can be find online at https://github.com/PrivateBin/PrivateBin/wiki/Configuration.
@ -263,5 +262,4 @@ dir = PATH "data"
; (optional) the "signature" (access key) issued by YOURLS for the using account ; (optional) the "signature" (access key) issued by YOURLS for the using account
; signature = "" ; signature = ""
; (optional) the URL of the YOURLS API, called to shorten a PrivateBin URL ; (optional) the URL of the YOURLS API, called to shorten a PrivateBin URL
; apiurl = "https://yourls.example.com/yourls-api.php" ; apiurl = "https://yourls.example.com/yourls-api.php"
*/

View File

@ -58,6 +58,7 @@ class ViewTest extends TestCase
$page->assign('EXPIREDEFAULT', self::$expire_default); $page->assign('EXPIREDEFAULT', self::$expire_default);
$page->assign('URLSHORTENER', ''); $page->assign('URLSHORTENER', '');
$page->assign('QRCODE', true); $page->assign('QRCODE', true);
$page->assign('EMAIL', true);
$page->assign('HTTPWARNING', true); $page->assign('HTTPWARNING', true);
$page->assign('HTTPSLINK', 'https://example.com/'); $page->assign('HTTPSLINK', 'https://example.com/');
$page->assign('COMPRESSION', 'zlib'); $page->assign('COMPRESSION', 'zlib');