Сам классError : Class 'Yii' not found
/Users/maksimvorozcov/Web/vmcentre/modules/registration/tests/models/DisciplineTest.php:17
Код: Выделить всё
<?php
/**
* Created by Maxim Vorozhtsov
* Email: myks1992@mail.ru
* Date: 16.05.2019
* Time: 17:54
*/
namespace app\modules\registration\tests;
use PHPUnit\Framework\TestCase;
class DisciplineTest extends TestCase
{
public function testIsActive()
{
$discipline = new \Yii();
}
}