Two funnel tests asserted several substrings that share one output line; expectsOutputToContain consumes one Mockery doWrite expectation per line, so only the first matched. Switch those to Artisan::call + expect()->toContain against the whole output. Also cast the rate numerators to float so an evenly divisible ratio (e.g. 2/2) returns 1.0 rather than int 1, matching the ?float contract. |
||
|---|---|---|
| .. | ||
| .pest | ||
| Browser | ||
| Feature | ||
| Fixtures | ||
| Performance | ||
| Support | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||
| bootstrap.php | ||