Rewrite tabulation #14
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpUnhandledExceptionInspection */
|
||||
|
||||
namespace App\Actions;
|
||||
namespace App\Actions\Tabulation;
|
||||
|
||||
use App\Exceptions\TabulationException;
|
||||
use App\Models\Entry;
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
/** @noinspection PhpMissingReturnTypeInspection */
|
||||
|
||||
namespace App\Actions;
|
||||
namespace App\Actions\Tabulation;
|
||||
|
||||
use App\Exceptions\ScoreEntryException;
|
||||
use App\Models\Entry;
|
||||
|
|
@ -21,11 +21,4 @@ class ScoreService
|
|||
|
||||
return $requiredJudges === $scoreSheets;
|
||||
}
|
||||
|
||||
public function scoreSheetTotal(string $mode, User $judge, Entry $entry): float
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use App\Actions\EnterScore;
|
||||
use App\Actions\Tabulation\EnterScore;
|
||||
use App\Exceptions\ScoreEntryException;
|
||||
use App\Models\Entry;
|
||||
use App\Models\User;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpUnhandledExceptionInspection */
|
||||
|
||||
use App\Actions\CalculateScoreSheetTotal;
|
||||
use App\Actions\Tabulation\CalculateScoreSheetTotal;
|
||||
use App\Exceptions\TabulationException;
|
||||
use App\Models\Entry;
|
||||
use App\Models\Room;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpUnhandledExceptionInspection */
|
||||
|
||||
use App\Actions\EnterScore;
|
||||
use App\Actions\Tabulation\EnterScore;
|
||||
use App\Exceptions\ScoreEntryException;
|
||||
use App\Models\Entry;
|
||||
use App\Models\Room;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ it('has appropriate students in JS array for select', function () {
|
|||
'id: ',
|
||||
$student->id,
|
||||
'name: ',
|
||||
$student->full_name(true),
|
||||
e($student->full_name(true)),
|
||||
], false); // The false parameter makes the assertion case-sensitive and allows for HTML tags
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ use App\Models\ScoreSheet;
|
|||
use App\Models\User;
|
||||
use App\Services\ScoreService;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use function Pest\Laravel\artisan;
|
||||
|
||||
uses(RefreshDatabase::class);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue