Files
pest/tests/Features/Warnings.php
2023-03-02 17:50:57 +00:00

14 lines
237 B
PHP

<?php
test('warning', function () {
$this->fooqwdfwqdfqw;
expect(true)->toBeTrue();
});
test('user warning', function () {
trigger_error('This is a warning description', E_USER_WARNING);
expect(true)->toBeTrue();
});