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 --stop-on-error StopOnErrorTestSuite ./tests/_files/StopOnErrorTestSuite.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--stop-on-error';
$_SERVER['argv'][3] = 'StopOnErrorTestSuite';
$_SERVER['argv'][4] = __DIR__ . '/../_files/StopOnErrorTestSuite.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
IE
Time: %s, Memory: %s
There was 1 error:
1) StopOnErrorTestSuite::testWithError
Error: StopOnErrorTestSuite_error
%s%etests%e_files%eStopOnErrorTestSuite.php:%d
ERRORS!
Tests: 2, Assertions: 1, Errors: 1, Incomplete: 1.