mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: updates snapshots
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Pest Testing Framework 2.18.2.
|
Pest Testing Framework 2.19.0.
|
||||||
|
|
||||||
USAGE: pest <file> [options]
|
USAGE: pest <file> [options]
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
Pest Testing Framework 2.18.2.
|
Pest Testing Framework 2.19.0.
|
||||||
|
|
||||||
|
|||||||
@ -652,6 +652,10 @@
|
|||||||
✓ failures with message
|
✓ failures with message
|
||||||
✓ not failures
|
✓ not failures
|
||||||
|
|
||||||
|
PASS Tests\Features\Expect\toHaveConstructor
|
||||||
|
✓ class has constructor
|
||||||
|
✓ class has no constructor
|
||||||
|
|
||||||
PASS Tests\Features\Expect\toHaveCount
|
PASS Tests\Features\Expect\toHaveCount
|
||||||
✓ pass
|
✓ pass
|
||||||
✓ failures with invalid type
|
✓ failures with invalid type
|
||||||
@ -659,6 +663,10 @@
|
|||||||
✓ failures with message
|
✓ failures with message
|
||||||
✓ not failures
|
✓ not failures
|
||||||
|
|
||||||
|
PASS Tests\Features\Expect\toHaveDestructor
|
||||||
|
✓ class has destructor
|
||||||
|
✓ class has no destructor
|
||||||
|
|
||||||
PASS Tests\Features\Expect\toHaveKebabCaseKeys
|
PASS Tests\Features\Expect\toHaveKebabCaseKeys
|
||||||
✓ pass
|
✓ pass
|
||||||
✓ failures
|
✓ failures
|
||||||
@ -1325,4 +1333,4 @@
|
|||||||
WARN Tests\Visual\Version
|
WARN Tests\Visual\Version
|
||||||
- visual snapshot of help command output
|
- visual snapshot of help command output
|
||||||
|
|
||||||
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 939 passed (2220 assertions)
|
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 943 passed (2224 assertions)
|
||||||
@ -62,15 +62,15 @@ test('fails with wrong value and plain key with dots', function () use ($test_ar
|
|||||||
|
|
||||||
test('not failures', function () use ($test_array) {
|
test('not failures', function () use ($test_array) {
|
||||||
expect($test_array)->not->toHaveKey('c');
|
expect($test_array)->not->toHaveKey('c');
|
||||||
})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'c'");
|
})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'c'");
|
||||||
|
|
||||||
test('not failures with nested key', function () use ($test_array) {
|
test('not failures with nested key', function () use ($test_array) {
|
||||||
expect($test_array)->not->toHaveKey('d.e');
|
expect($test_array)->not->toHaveKey('d.e');
|
||||||
})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'd.e'");
|
})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'd.e'");
|
||||||
|
|
||||||
test('not failures with plain key with dots', function () use ($test_array) {
|
test('not failures with plain key with dots', function () use ($test_array) {
|
||||||
expect($test_array)->not->toHaveKey('key.with.dots');
|
expect($test_array)->not->toHaveKey('key.with.dots');
|
||||||
})->throws(ExpectationFailedException::class, "Expecting Array (…) not to have key 'key.with.dots'");
|
})->throws(ExpectationFailedException::class, "Expecting […] not to have key 'key.with.dots'");
|
||||||
|
|
||||||
test('not failures with correct value', function () use ($test_array) {
|
test('not failures with correct value', function () use ($test_array) {
|
||||||
expect($test_array)->not->toHaveKey('c', 'world');
|
expect($test_array)->not->toHaveKey('c', 'world');
|
||||||
|
|||||||
@ -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: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 928 passed (2205 assertions)')
|
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 932 passed (2209 assertions)')
|
||||||
->toContain('Parallel: 3 processes');
|
->toContain('Parallel: 3 processes');
|
||||||
})->skipOnWindows();
|
})->skipOnWindows();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user