From b6890e0c82304a45b6a9b23584954b4c708eb719 Mon Sep 17 00:00:00 2001 From: DemeritCowboy Date: Wed, 4 Sep 2019 18:25:45 -0400 Subject: [PATCH] remove duplicate lines --- tests/phpunit/api/v3/AttachmentTest.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/phpunit/api/v3/AttachmentTest.php b/tests/phpunit/api/v3/AttachmentTest.php index 33bc8ec26919..93bee28f1f1d 100644 --- a/tests/phpunit/api/v3/AttachmentTest.php +++ b/tests/phpunit/api/v3/AttachmentTest.php @@ -349,9 +349,6 @@ public function testCreate($testEntityClass, $createParams, $expectedContent) { 'return' => ['content'], ]); $this->assertEquals($expectedContent, $getResult2['values'][$fileId]['content']); - foreach (['id', 'entity_table', 'entity_id', 'url'] as $field) { - $this->assertEquals($createResult['values'][$fileId][$field], $getResult['values'][$fileId][$field], "Expect field $field to match"); - } } /**