Closed aldobarr closed 2 weeks ago
Thank you for your report.
Please provide a minimal, self-contained, reproducing test case that shows the problem you are reporting.
Without such a minimal, self-contained, reproducing test case I will not be able to investigate this issue.
Thank you for your report.
Please provide a minimal, self-contained, reproducing test case that shows the problem you are reporting.
Without such a minimal, self-contained, reproducing test case I will not be able to investigate this issue.
I did, see above.
The example you provided is neither minimal nor self-contained.
No feedback, closing.
I'm currently using Laravel v11.21.0. In it I have a service which interacts with an API using Laravel's Http Facade. Here's the code:
For whatever reason this API will respond with 200 status codes sometimes even when invalid data is sent... Anyway, I have this unit test for covering that case:
I've stepped through this code and confirmed 100% that the line within the
result !== 'success'
if statement is executed. Yet here's a code coverage report for the ApiService:I also tested this with PCOV v1.0.11-5 and got the same results...