mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
make StyleCI happy and change unit test to use a string
This commit is contained in:
parent
e61c44ef46
commit
4204e4b8b7
@ -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,
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user