Izveidot aplikāciju, kura ik pēc noteikta intervāla (60 sekundes) veic ierakstu datubāzē izmantojot Laravel freimworka iebūvēto funkcionalitāti.
--TEST--
phpunit FatalTest --process-isolation ../../_files/FatalTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'FatalTest';
$_SERVER['argv'][4] = __DIR__ . '/../_files/FatalTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
E 1 / 1 (100%)
Time: %s, Memory: %s
There was 1 error:
1) FatalTest::testFatalError
%a
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.