(NFC) HttpTestTrait - Fix typo
authorTim Otten <totten@civicrm.org>
Mon, 15 Feb 2021 05:12:48 +0000 (21:12 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 15 Feb 2021 05:12:48 +0000 (21:12 -0800)
Civi/Test/HttpTestTrait.php

index 1e3fc71f6efb4ac07e6d6826037da540b2e693fe..80be44515d66060296fc4be5df8b6ce1466c59bb 100644 (file)
@@ -132,7 +132,7 @@ trait HttpTestTrait {
     $response = $this->resolveResponse($response);
     list($actualType) = explode(';', $response->getHeader('Content-Type')[0]);
     $fmt = $actualType === $expectType ? '' : $this->formatFailure($response);
-    $this->assertEquals($expectType, $actualType, "Expected content-type $expectType. Received conte-tntype $actualType.\n$fmt");
+    $this->assertEquals($expectType, $actualType, "Expected content-type $expectType. Received content-type $actualType.\n$fmt");
     return $this;
   }