mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
tests: deprecations
This commit is contained in:
13
tests/Features/Deprecated.php
Normal file
13
tests/Features/Deprecated.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
test('deprecated', function () {
|
||||
str_contains(null, null);
|
||||
|
||||
expect(true)->toBeTrue();
|
||||
});
|
||||
|
||||
test('user deprecated', function () {
|
||||
trigger_deprecation('foo', '1.0', 'This is a deprecation description');
|
||||
|
||||
expect(true)->toBeTrue();
|
||||
});
|
||||
Reference in New Issue
Block a user