From 736a850be6dea5d3e8ae7090451af565459bd531 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 6 Aug 2014 19:50:47 +0200 Subject: [PATCH 1/2] zendframework/zf2#6491 - minor CS fixes (whitespace) --- test/Header/ContentTypeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Header/ContentTypeTest.php b/test/Header/ContentTypeTest.php index 1e4540f3..7451ffdd 100644 --- a/test/Header/ContentTypeTest.php +++ b/test/Header/ContentTypeTest.php @@ -50,7 +50,7 @@ public function testTrailingSemiColonFromString() 'Content-Type: multipart/alternative; boundary="Apple-Mail=_1B852F10-F9C6-463D-AADD-CD503A5428DD";' ); $params = $contentTypeHeader->getParameters(); - $this->assertEquals($params,array('boundary' => 'Apple-Mail=_1B852F10-F9C6-463D-AADD-CD503A5428DD')); + $this->assertEquals($params, array('boundary' => 'Apple-Mail=_1B852F10-F9C6-463D-AADD-CD503A5428DD')); } public function testProvidingParametersIntroducesHeaderFolding() @@ -70,7 +70,7 @@ public function testExtractsExtraInformationFromContentType() 'Content-Type: multipart/alternative; boundary="Apple-Mail=_1B852F10-F9C6-463D-AADD-CD503A5428DD"' ); $params = $contentTypeHeader->getParameters(); - $this->assertEquals($params,array('boundary' => 'Apple-Mail=_1B852F10-F9C6-463D-AADD-CD503A5428DD')); + $this->assertEquals($params, array('boundary' => 'Apple-Mail=_1B852F10-F9C6-463D-AADD-CD503A5428DD')); } /** From e23e54e70b52ef63209127529c71e9bfe100f366 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 6 Aug 2014 19:51:20 +0200 Subject: [PATCH 2/2] zendframework/zf2#6491 - adding `@group` annotation --- test/Header/ContentTypeTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/Header/ContentTypeTest.php b/test/Header/ContentTypeTest.php index 7451ffdd..ef020723 100644 --- a/test/Header/ContentTypeTest.php +++ b/test/Header/ContentTypeTest.php @@ -44,6 +44,9 @@ public function testContentTypeToStringReturnsHeaderFormattedString() $this->assertEquals("Content-Type: foo/bar", $contentTypeHeader->toString()); } + /** + * @group 6491 + */ public function testTrailingSemiColonFromString() { $contentTypeHeader = ContentType::fromString(