From 3b55a9eb4bda8c4c6e6b297d18fe09091d26c2ec Mon Sep 17 00:00:00 2001 From: James Ayers Date: Fri, 4 Oct 2024 09:51:47 +1300 Subject: [PATCH] Update test setup() to match SapphireTest --- tests/JSONTextBasicTest.php | 4 ++-- tests/JSONTextQueryTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/JSONTextBasicTest.php b/tests/JSONTextBasicTest.php index d1066ea..ac622d6 100755 --- a/tests/JSONTextBasicTest.php +++ b/tests/JSONTextBasicTest.php @@ -36,14 +36,14 @@ public function __construct() foreach($this->fixtures as $name => $path) { $this->fixtures[$name] = realpath(__DIR__) . '/' . $path; } - + parent::__construct(); } /** * Setup the System Under Test for this test suite. */ - public function setUp() + protected function setUp(): void { parent::setUp(); diff --git a/tests/JSONTextQueryTest.php b/tests/JSONTextQueryTest.php index d125431..ed2627b 100755 --- a/tests/JSONTextQueryTest.php +++ b/tests/JSONTextQueryTest.php @@ -42,14 +42,14 @@ public function __construct() foreach($this->fixtures as $name => $path) { $this->fixtures[$name] = realpath(__DIR__) . '/' . $path; } - + parent::__construct(); } /** * Setup the System Under Test for this test suite. */ - public function setUp() + protected function setUp(): void { parent::setUp();