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