Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract
Also make getServiceLocator protected As per https://github.com/symfony/symfony/issues/33946#issuecomment-541100439
This commit is contained in:
parent
9c635615de
commit
c2dd804a24
@ -15,9 +15,9 @@ use PHPUnit\Framework\TestCase;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Symfony\Contracts\Service\ServiceLocatorTrait;
|
||||
|
||||
class ServiceLocatorTest extends TestCase
|
||||
abstract class ServiceLocatorTest extends TestCase
|
||||
{
|
||||
public function getServiceLocator(array $factories)
|
||||
protected function getServiceLocator(array $factories)
|
||||
{
|
||||
return new class($factories) implements ContainerInterface {
|
||||
use ServiceLocatorTrait;
|
||||
|
Reference in New Issue
Block a user