fix: test suite loader

This commit is contained in:
Nuno Maduro
2023-02-17 20:56:10 +00:00
parent 86fdfb75cf
commit efca71f1e7
4 changed files with 24 additions and 13 deletions

View File

@ -884,9 +884,9 @@
✓ it gets property values
PASS Tests\Unit\Support\Str
✓ it evaluates the code with ('version()', 'version__')
✓ it evaluates the code with ('version__ ', 'version___')
✓ it evaluates the code with ('version\', 'version_')
✓ it evaluates the code with ('version()', '__pest_evaluable_version__')
✓ it evaluates the code with ('version__ ', '__pest_evaluable_version___')
✓ it evaluates the code with ('version\', '__pest_evaluable_version_')
PASS Tests\Unit\TestSuite
✓ it does not allow to add the same test description twice

View File

@ -8,7 +8,7 @@ trait MyCustomTrait
}
}
class MyCustomClass extends PHPUnit\Framework\TestCase
abstract class MyCustomClass extends PHPUnit\Framework\TestCase
{
public function assertTrueIsTrue()
{

View File

@ -14,5 +14,5 @@ $run = function () {
test('parallel', function () use ($run) {
expect($run())->toContain('Running 650 tests using 3 processes')
->toContain('Tests: 4 incomplete, 4 todos, 15 skipped, 627 passed (1546 assertions)');
->toContain('Tests: 4 incomplete, 4 todos, 15 skipped, 626 passed (1545 assertions)');
});