make StyleCI happy and change unit test to use a string

This commit is contained in:
El RIDO 2020-07-03 21:00:42 +02:00
parent e61c44ef46
commit 4204e4b8b7
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ class Configuration
private static $_defaults = array( private static $_defaults = array(
'main' => array( 'main' => array(
'name' => 'PrivateBin', 'name' => 'PrivateBin',
'basepath' => '', 'basepath' => '',
'discussion' => true, 'discussion' => true,
'opendiscussion' => false, 'opendiscussion' => false,
'password' => true, 'password' => true,

View file

@ -34,7 +34,7 @@ class ViewTest extends PHPUnit_Framework_TestCase
/* Setup Routine */ /* Setup Routine */
$page = new View; $page = new View;
$page->assign('NAME', 'PrivateBinTest'); $page->assign('NAME', 'PrivateBinTest');
$page->assign('BASEPATH', false); $page->assign('BASEPATH', '');
$page->assign('ERROR', self::$error); $page->assign('ERROR', self::$error);
$page->assign('STATUS', self::$status); $page->assign('STATUS', self::$status);
$page->assign('VERSION', self::$version); $page->assign('VERSION', self::$version);