浏览代码

minor fixes; restore tests

Olivier Massot 3 年之前
父节点
当前提交
455cc7e771
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      tests/Service/Export/LicenceCmfExporterTest.php
  2. 1 1
      tests/Service/Security/ModuleTest.php

+ 1 - 0
tests/Service/Export/LicenceCmfExporterTest.php

@@ -22,6 +22,7 @@ use Doctrine\Common\Collections\Collection;
 use Doctrine\ORM\EntityManagerInterface;
 use PHPUnit\Framework\MockObject\MockObject;
 use PHPUnit\Framework\TestCase;
+use RuntimeException;
 use Twig\Environment;
 
 class LicenceCmfExporterTest extends TestCase

+ 1 - 1
tests/Service/Security/ModuleTest.php

@@ -193,7 +193,7 @@ class ModuleTest extends TestCase
     /**
      * @see Module::getModulesByProductConfiguration()
      */
-    public function testGetModulesByProductConfigurationAccessDenied(): void: void
+    public function testGetModulesByProductConfigurationAccessDenied(): void
     {
         $module = $this->getMockBuilder(TestableModule::class)
             ->setConstructorArgs([$this->reflection, $this->parser, self::OPENTALENT_CONFIG])