mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-04 11:45:00 +02:00
25 lines
573 B
PHP
25 lines
573 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Actions\Repositories\ReconcileResults;
|
|
use App\Enums\Actions\ActionStatus;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
test('default', function (): void {
|
|
$reconcileResults = new class extends ReconcileResults
|
|
{
|
|
/**
|
|
* Get the model of the reconciliation results.
|
|
*
|
|
* @return class-string<Model>
|
|
*/
|
|
public function model(): string
|
|
{
|
|
return Model::class;
|
|
}
|
|
};
|
|
|
|
$this->assertTrue($reconcileResults->getStatus() === ActionStatus::PASSED);
|
|
});
|