diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c992b7e18..452f2f810 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,7 +43,7 @@ jobs: run: yarn run encore production - name: Run docker compose - run: docker compose up -d db + run: docker compose up -d db && sleep 10 && docker compose logs db - name: Run phpunit run: bin/phpunit -c phpunit.xml.dist @@ -56,3 +56,6 @@ jobs: - name: Run var_dump checker run: bin/var-dump-check --symfony src tests + + - name: Stop docker compose + run: docker compose down diff --git a/tests/phpunit/Resource/Resolver/ResourceResolverTest.php b/tests/phpunit/Resource/Resolver/ResourceResolverTest.php index b8248cb9f..b9fe1203f 100644 --- a/tests/phpunit/Resource/Resolver/ResourceResolverTest.php +++ b/tests/phpunit/Resource/Resolver/ResourceResolverTest.php @@ -57,7 +57,7 @@ public function itResolveResources(): void ->expects(self::once()) ->method('locateProperties') ->willReturnMap([ - [$bookClass, []] + [$bookClass, []], ]) ; diff --git a/tests/phpunit/TestTrait.php b/tests/phpunit/TestTrait.php index 305c68d64..49a0d585a 100644 --- a/tests/phpunit/TestTrait.php +++ b/tests/phpunit/TestTrait.php @@ -10,4 +10,4 @@ protected static function getApplicationPath(): string { return __DIR__.'/../app'; } -} \ No newline at end of file +}