Explorar o código

minor fixes; restore tests

Olivier Massot %!s(int64=3) %!d(string=hai) anos
pai
achega
455cc7e771

+ 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])