diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index aeed3ee..1596c12 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,8 +21,9 @@ jobs: php-version: ${{ matrix.php-versions }} - name: Get composer cache directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v2 + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/test/Provider/EntityMutationMetadataProviderTest.php b/test/Provider/EntityMutationMetadataProviderTest.php index b603528..1693291 100644 --- a/test/Provider/EntityMutationMetadataProviderTest.php +++ b/test/Provider/EntityMutationMetadataProviderTest.php @@ -94,7 +94,7 @@ public function testChangesNewEntityFlushed(): void self::assertEquals([ Gallery::class => [$gallery], - Visitor::class => [$v1, $v2], + Visitor::class => [$v2, $v1], ], $this->provider->getFullChangeSet($this->em)); }