Browse Source

set error_reporting for tests

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
842971c44d
  1. 3
      tests/unit/bootstrap.php

3
tests/unit/bootstrap.php

@ -1,5 +1,8 @@
<?php <?php
// ensure we get report on all possible php errors
error_reporting(-1);
define('YII_ENABLE_ERROR_HANDLER', false); define('YII_ENABLE_ERROR_HANDLER', false);
define('YII_DEBUG', true); define('YII_DEBUG', true);
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__; $_SERVER['SCRIPT_NAME'] = '/' . __DIR__;

Loading…
Cancel
Save