Browse Source

Unit tests fix

tags/2.0.0-beta
Alexander Kochetov 12 years ago
parent
commit
4b8bcd43e0
  1. 3
      tests/unit/framework/rbac/PhpManagerTest.php

3
tests/unit/framework/rbac/PhpManagerTest.php

@ -2,6 +2,7 @@
namespace yiiunit\framework\rbac;
use Yii;
use yii\rbac\PhpManager;
require_once(__DIR__ . '/ManagerTestBase.php');
@ -10,7 +11,7 @@ class PhpManagerTest extends ManagerTestBase
{
public function setUp()
{
$authFile = \Yii::$app->getRuntimePath() . '/rbac.php';
$authFile = Yii::$app->getRuntimePath() . '/rbac.php';
@unlink($authFile);
$this->auth = new PhpManager;
$this->auth->authFile = $authFile;

Loading…
Cancel
Save