Skip to content

Conversation

joshbonnick
Copy link
Contributor

Similar to #48156. This PR replaces the use of $startTime = microtime(true); with Sleep::fake().

The updated test in HttpClientTest was failing with the following:

Failed asserting that 0.33161306381225586 matches expected 0.3.

Expected: 0.3
Actual: 0.33161306381226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants