Remove duplicate assertion in SpecialBlockTest
authorThalia <thalia.e.chan@googlemail.com>
Thu, 3 Jan 2019 17:06:50 +0000 (17:06 +0000)
committerThalia <thalia.e.chan@googlemail.com>
Thu, 3 Jan 2019 17:06:50 +0000 (17:06 +0000)
Change-Id: I55d0112a8e3acf06fdfca979552a2746ae928c4f

tests/phpunit/includes/specials/SpecialBlockTest.php

index 40fe1e3..e2c0084 100644 (file)
@@ -38,7 +38,6 @@ class SpecialBlockTest extends SpecialPageTestBase {
                $this->assertArrayHasKey( 'Reason', $fields );
                $this->assertArrayHasKey( 'CreateAccount', $fields );
                $this->assertArrayHasKey( 'DisableUTEdit', $fields );
-               $this->assertArrayHasKey( 'DisableUTEdit', $fields );
                $this->assertArrayHasKey( 'AutoBlock', $fields );
                $this->assertArrayHasKey( 'HardBlock', $fields );
                $this->assertArrayHasKey( 'PreviousTarget', $fields );