Commit 51c9d75f authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

wip

parent 28f354a2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ services:
     - .:/app
     - /tmp:/tmp
     - /tmp/upload:/tmp/upload
     - $HOME/.gitconfig:/root/.gitconfig
     - $HOME/.ssh:/root/.ssh
     - $HOME/.cache/composer:/root/.cache/composer
     - $HOME/.config/composer/auth.json:/root/.config/composer/auth.json
+0 −5
Original line number Diff line number Diff line
@@ -51,11 +51,6 @@ class AdmissionService extends BaseService

    private const DEFAULT_SOURCE_CODE = "SYG";


    /**
     * @return AdmissionRepository
     * @throws NotSupported
     */
    public function getRepository(): AdmissionRepository
    {
        /** @var AdmissionRepository $repo */
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ namespace ApplicationFunctionalTest\Command;
use Application\Command\CheckWSValidationFichierCinesCommand;
use Application\Command\ShellCommandRunner;

class CheckWSValidationFichierCinesCommandTest extends \PHPUnit_Framework_TestCase
class CheckWSValidationFichierCinesCommandTest extends \PHPUnit\Framework\TestCase
{
    public function test_throws_exception_if_sample_file_not_found()
    {
@@ -124,7 +124,7 @@ class CheckWSValidationFichierCinesCommandTest extends \PHPUnit_Framework_TestCa
        return $filePath;
    }

    protected function tearDown()
    protected function tearDown(): void
    {
        if (file_exists($path = sys_get_temp_dir() . '/fake_script.sh')) {
            unlink($path);
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

namespace ApplicationFunctionalTest\Command;

//class ValidationFichierCinesCommandTest extends \PHPUnit_Framework_TestCase
//class ValidationFichierCinesCommandTest extends \PHPUnit\Framework\TestCase
//{
//    public function test_real_web_service_call_max_time()
//    {
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ abstract class WorkflowServiceAbstractTest extends AbstractControllerTestCase
        $this->em()->flush($this->these);
    }

    public function tearDown()
    protected function tearDown(): void
    {
        $this->ep()->removeNewEntities();
    }
Loading