我正在尝试为我在Drupal8上编写的自定义模块编写测试,但不断收到错误,在这一点上我已经没有想法了。下面是错误:
Error: Class 'Drupal\mypackage\Services\Config\MyClassServiceConfig' not found
PhpUnit类位于
modules\custom\mypackage\tests\src\Unit\mypackageUserAuthTest
以下是代码
class mypackageUserAuthTest extends UnitTestCase
{
protected $user;