From 1e6c6f2bd5fbae930682989475d3f45a3ce252c9 Mon Sep 17 00:00:00 2001
From: Rosie Le Faive <lefaive@gmail.com>
Date: Wed, 8 Nov 2023 15:25:28 -0400
Subject: [PATCH] Declare properties so they aren't dynamic.

---
 tests/src/Functional/AddChildTest.php                    | 8 +++++++-
 tests/src/Functional/JsonldSelfReferenceReactionTest.php | 7 +++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/tests/src/Functional/AddChildTest.php b/tests/src/Functional/AddChildTest.php
index f27f9db9..ed5282c7 100644
--- a/tests/src/Functional/AddChildTest.php
+++ b/tests/src/Functional/AddChildTest.php
@@ -9,13 +9,19 @@ namespace Drupal\Tests\islandora\Functional;
  */
 class AddChildTest extends IslandoraFunctionalTestBase {
 
+  /**
+   * The taxonomy term representing "Collection" items.
+   *
+   * @var \Drupal\taxonomy\TermInterface
+   */
+  protected $collectionTerm;
+
   /**
    * {@inheritdoc}
    */
   public function setUp(): void {
     parent::setUp();
 
-    $this->parent =
     $this->collectionTerm = $this->container->get('entity_type.manager')->getStorage('taxonomy_term')->create([
       'name' => 'Collection',
       'vid' => $this->testVocabulary->id(),
diff --git a/tests/src/Functional/JsonldSelfReferenceReactionTest.php b/tests/src/Functional/JsonldSelfReferenceReactionTest.php
index 92eca07a..acf64e27 100644
--- a/tests/src/Functional/JsonldSelfReferenceReactionTest.php
+++ b/tests/src/Functional/JsonldSelfReferenceReactionTest.php
@@ -12,6 +12,13 @@ use function GuzzleHttp\json_decode;
  */
 class JsonldSelfReferenceReactionTest extends IslandoraFunctionalTestBase {
 
+	/**
+	 * An RDF Mapping object.
+	 *
+	 * @var \Drupal\rdf\Entity\RdfMapping
+	 */
+	protected $rdfMapping;
+
   /**
    * {@inheritdoc}
    */