Files
pest/tests/Features/Warnings.php
T
2026-07-18 01:10:01 +01:00

24 lines
500 B
PHP

<?php
declare(strict_types=1);
test('warning', function (): void {
$this->fooqwdfwqdfqw;
expect(true)->toBeTrue();
});
test('user warning', function (): void {
trigger_error('This is a warning description', E_USER_WARNING);
expect(true)->toBeTrue();
});
describe('a "describe" group of tests', function (): void {
test('user warning', function (): void {
trigger_error('This is a warning description', E_USER_WARNING);
expect(true)->toBeTrue();
});
});