Problem/Motivation

As title.

Proposed resolution

For example:

-    $this->assertTrue(array_key_exists("data-entity-uuid", $htmlRestrictions['allowed']['a']));
+    $this->assertArrayHasKey("data-entity-uuid", $htmlRestrictions['allowed']['a']);

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mero.S created an issue. See original summary.

mero.S’s picture

mero.S’s picture

Assigned: mero.S » Unassigned
Status: Needs work » Needs review
novchuk.v’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me!

phenaproxima’s picture

+1 for RTBC. These assertions look correct to me, and are more readable.

  • anon committed 2f870ec on 8.x-5.x authored by mero.S
    Issue #3135857 by mero.S, anon: Replace assertions involving calls to...
anon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.