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

refactor test cases #17

Merged
merged 1 commit into from
May 14, 2018

Conversation

pine3ree
Copy link
Contributor

list of changes:

  1. modify the createSessionCookieRequest helper method signature by using sessionId as first argument it being the most commonly varying parameter
  2. update 3 older test cases to use the above mentioned helper method
  3. swap arguments in assertions to have the expected value as first argument
  4. as a side effect of point 3, FIX assertions regarding expire headers valure range (failure only appearing when adding delaying function calls)
  5. add inline commentary

changes:

1. modify the `createSessionCookieRequest` helper method signature by
   using `sessionId` as first argument it being the most commonly 
   varying parameter

2. update 3 older test cases to use the above mentioned helper method

3. swap arguments in assertions to have the expected value as first 
   argument

4. as a side effect of point 3, fix assertions regarding expire headers
   valure range (failure only appearing when adding delaying function 
   calls)

5. add inline commentary
@weierophinney weierophinney merged commit 30b7811 into zendframework:master May 14, 2018
weierophinney added a commit that referenced this pull request May 14, 2018
weierophinney added a commit that referenced this pull request May 14, 2018
@weierophinney
Copy link
Member

Thanks, @pine3ree! Really nice work!

@pine3ree pine3ree deleted the update-test-cases branch May 14, 2018 15:26
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.

None yet

2 participants