From 4a063d23b96b11709ea081dfd3105fb3415ee4f3 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 25 Apr 2023 19:36:52 -0700 Subject: [PATCH] =?UTF-8?q?We=20don=E2=80=99t=20actually=20use=20this=20te?= =?UTF-8?q?st=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: snipe --- tests/Unit/CustomFieldTest.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/Unit/CustomFieldTest.php b/tests/Unit/CustomFieldTest.php index dbf96c55f8..d5704d8aa3 100644 --- a/tests/Unit/CustomFieldTest.php +++ b/tests/Unit/CustomFieldTest.php @@ -13,12 +13,6 @@ class CustomFieldTest extends TestCase public function testFormat() { $customfield = CustomField::factory()->make(['format' => 'IP']); - $values = [ - 'name' => $customfield->name, - 'format' => $customfield->format, - 'element' => $customfield->element, - ]; - $this->assertEquals($customfield->getAttributes()['format'], CustomField::PREDEFINED_FORMATS['IP']); //this seems undocumented... $this->assertEquals($customfield->format, 'IP'); }