HttpTestTrait - assertContentType() should a little sensitive to CMS variations
authorTim Otten <totten@civicrm.org>
Sat, 13 Feb 2021 04:29:07 +0000 (20:29 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 15 Feb 2021 05:09:46 +0000 (21:09 -0800)
commitaa82ca9f4247570eb637dcaf99ec68048f7edab5
tree97dce91f5860a47eb27e5b9cf73e25ef76367003
parent12b478efd3e0aa57ec6ef63fe9204507c01490f7
HttpTestTrait - assertContentType() should a little sensitive to CMS variations

This is based on the observation the WP reported `text/plain` while D7
reported `text/plain;charset=UTF-8` -- even though the Civi output logic was
the same (specifying `text/plain`).
Civi/Test/HttpTestTrait.php