diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index c7022446..c8d8261d 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -151,7 +151,7 @@ jobs: - name: Install and configure PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.3 extensions: 'imagick' tools: 'composer:v2' coverage: none diff --git a/Tests/Functional/Metadata/DynamicFormMetadataLoaderTest.php b/Tests/Functional/Metadata/DynamicFormMetadataLoaderTest.php index 39f800f2..0fd37ce6 100644 --- a/Tests/Functional/Metadata/DynamicFormMetadataLoaderTest.php +++ b/Tests/Functional/Metadata/DynamicFormMetadataLoaderTest.php @@ -238,8 +238,8 @@ public function testGetMetadataAttachmentEnglish(): void $this->assertEquals('number', $attachment->getItems()['options/max']->getType()); $this->assertEquals(6, $attachment->getItems()['options/max']->getColspan()); - $this->assertObjectHasAttribute('schema', $attachment); - $this->assertObjectHasAttribute('key', $attachment); + $this->assertTrue(isset($attachment->schema)); + $this->assertTrue(isset($attachment->key)); } public function testGetMetadataAttachmentGerman(): void