Przeglądaj źródła

make StyleCI happy and change unit test to use a string

El RIDO 6 lat temu
rodzic
commit
4204e4b8b7
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      lib/Configuration.php
  2. 1 1
      tst/ViewTest.php

+ 1 - 1
lib/Configuration.php

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

+ 1 - 1
tst/ViewTest.php

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