From 21a1f40cb8d47f141da7df593afcb7d77df6068c Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 3 Sep 2024 14:06:53 +0200 Subject: [PATCH] - --- tests/Api/Glances/GlanceDataFieldsTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Api/Glances/GlanceDataFieldsTest.php b/tests/Api/Glances/GlanceDataFieldsTest.php index d2ac37b..3de7679 100644 --- a/tests/Api/Glances/GlanceDataFieldsTest.php +++ b/tests/Api/Glances/GlanceDataFieldsTest.php @@ -25,9 +25,7 @@ class GlanceDataFieldsTest extends TestCase { public function testCanBeConstructed(): void { - $glanceDataFields = new GlanceDataFields(); - - $this->assertInstanceOf(GlanceDataFields::class, $glanceDataFields); + $this->assertInstanceOf(GlanceDataFields::class, new GlanceDataFields()); } public function testSetTitle(): void