Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Bugfix for 2.9.0 BC Break when using traditional SAPI #79

Merged
merged 5 commits into from
Dec 17, 2018

Conversation

Slamdunk
Copy link
Contributor

@Slamdunk Slamdunk commented Dec 17, 2018

References: #76, #77

Provide a narrative description of what you are trying to accomplish:

  • Are you fixing a bug?
    • Detail how the bug is invoked currently.
    • Detail the original, incorrect behavior.
    • Detail the new, expected behavior.
    • Base your feature on the master branch, and submit against that branch.
    • Add a regression test that demonstrates the bug, and proves the fix.
    • Add a CHANGELOG.md entry for the fix.

/**
* @see https://github.com/zendframework/zend-filter/issues/77
*/
public function testBackwordCompatibilityBreakFromRelease280ToRelease290()
Copy link
Contributor Author

@Slamdunk Slamdunk Dec 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test runs successfully on release-2.8.0 but fails on release-2.9.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a name that details the behavior being tested, not the symptom. 😄

Something like testCachesResultsOfFilteringSAPIUploads().

(I can make that change on merge.)

@Slamdunk Slamdunk mentioned this pull request Dec 17, 2018
7 tasks
@Slamdunk Slamdunk changed the title Prove 2.9 BC Break Bugfix for 2.9 BC Break when using traditional SAPI Dec 17, 2018
@Slamdunk Slamdunk changed the title Bugfix for 2.9 BC Break when using traditional SAPI Bugfix for 2.9.0 BC Break when using traditional SAPI Dec 17, 2018
@fezfez
Copy link

fezfez commented Dec 17, 2018

@Slamdunk : tested and it's ok 👍

Copy link
Member

@weierophinney weierophinney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are great (albeit with naming issues); I'll get this out ASAP.

Thanks, @Slamdunk !

/**
* @see https://github.com/zendframework/zend-filter/issues/77
*/
public function testBackwordCompatibilityBreakFromRelease280ToRelease290()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a name that details the behavior being tested, not the symptom. 😄

Something like testCachesResultsOfFilteringSAPIUploads().

(I can make that change on merge.)

* @see https://github.com/zendframework/zend-filter/issues/76
* @return void
*/
public function testTargetSameAsSource()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar comment here; the test name isn't telling me what the behavior being tested is. Let's try something along the lines of testFilterReturnsFileDataVerbatimUnderSAPIWhenNameAndTmpNameDiffer().

@weierophinney weierophinney merged commit a24bd3e into zendframework:master Dec 17, 2018
weierophinney added a commit that referenced this pull request Dec 17, 2018
Forward port #79

Conflicts:
	CHANGELOG.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants