From 11eb82e5fcbebed8bd7193000a6930a9437764c2 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Wed, 25 Oct 2023 08:29:32 -0300 Subject: [PATCH 1/2] Add PHP 8.2 and Drupal 10.2 to testing matrix. --- .github/workflows/build-3.x.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-3.x.yml b/.github/workflows/build-3.x.yml index 45b5491..40475d4 100644 --- a/.github/workflows/build-3.x.yml +++ b/.github/workflows/build-3.x.yml @@ -21,8 +21,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ["8.1"] - drupal-version: ["10.0.x", "10.1.x-dev"] + php-versions: ["8.1", "8.2"] + drupal-version: ["10.0.x", "10.1.x", "10.2.x-dev"] env: DRUPAL_VERSION: ${{ matrix.drupal-version }} From 72102fc1931bbb220a9325f4585179b47c924a40 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Wed, 25 Oct 2023 09:01:50 -0300 Subject: [PATCH 2/2] Use `name` key when defining test type. --- tests/src/Functional/JsonldContextGeneratorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Functional/JsonldContextGeneratorTest.php b/tests/src/Functional/JsonldContextGeneratorTest.php index 3f9e0f9..c14df32 100644 --- a/tests/src/Functional/JsonldContextGeneratorTest.php +++ b/tests/src/Functional/JsonldContextGeneratorTest.php @@ -42,7 +42,7 @@ public function setUp() : void { // Create a test content type. $test_type = $this->container->get('entity_type.manager')->getStorage('node_type')->create([ 'type' => 'test_type', - 'label' => 'Test Type', + 'name' => 'Test Type', ]); $test_type->save();