mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 01:37:21 +01:00
tests: adds collision tests
This commit is contained in:
9
tests/Fixtures/CollisionTest.php
Normal file
9
tests/Fixtures/CollisionTest.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
test('error', function () {
|
||||
throw new Exception('error');
|
||||
})->skip(! isset($_SERVER['COLLISION_TEST']));
|
||||
|
||||
test('success', function () {
|
||||
expect(true)->toBeTrue();
|
||||
})->skip(! isset($_SERVER['COLLISION_TEST']));
|
||||
Reference in New Issue
Block a user