fix tests

This commit is contained in:
Nuno Maduro
2024-09-05 18:17:30 +01:00
parent 2d80ff19ec
commit ae288d1123
3 changed files with 2 additions and 11 deletions

View File

@ -20,7 +20,7 @@
"php": "^8.2.0", "php": "^8.2.0",
"brianium/paratest": "^7.5.4", "brianium/paratest": "^7.5.4",
"nunomaduro/collision": "^8.4.0", "nunomaduro/collision": "^8.4.0",
"nunomaduro/termwind": "^2.0.1", "nunomaduro/termwind": "^2.1.0",
"pestphp/pest-plugin": "^3.0.0", "pestphp/pest-plugin": "^3.0.0",
"pestphp/pest-plugin-arch": "^3.0.0", "pestphp/pest-plugin-arch": "^3.0.0",
"pestphp/pest-plugin-mutate": "^3.0.0", "pestphp/pest-plugin-mutate": "^3.0.0",

View File

@ -10,7 +10,6 @@ use Pest\Exceptions\TestDescriptionMissing;
use Pest\Factories\Attribute; use Pest\Factories\Attribute;
use Pest\Factories\TestCaseMethodFactory; use Pest\Factories\TestCaseMethodFactory;
use Pest\Mutate\Contracts\Configuration; use Pest\Mutate\Contracts\Configuration;
use Pest\Mutate\Decorators\TestCallDecorator as MutationTestCallDecorator;
use Pest\Mutate\Repositories\ConfigurationRepository; use Pest\Mutate\Repositories\ConfigurationRepository;
use Pest\PendingCalls\Concerns\Describable; use Pest\PendingCalls\Concerns\Describable;
use Pest\Plugins\Only; use Pest\Plugins\Only;
@ -666,14 +665,6 @@ final class TestCall
return $this; return $this;
} }
/**
* Mutates the test.
*/
public function mutate(string $profile = 'default'): self|MutationTestCallDecorator
{
return (new MutationTestCallDecorator($this))->mutate($profile);
}
/** /**
* Creates the Call. * Creates the Call.
*/ */

View File

@ -16,7 +16,7 @@ $run = function () {
test('parallel', function () use ($run) { test('parallel', function () use ($run) {
expect($run('--exclude-group=integration')) expect($run('--exclude-group=integration'))
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 28 skipped, 1091 passed (2624 assertions)') ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 19 skipped, 1081 passed (2600 assertions)')
->toContain('Parallel: 3 processes'); ->toContain('Parallel: 3 processes');
})->skipOnWindows(); })->skipOnWindows();