ldc-boutique-cnc-sable/tests/Unit/App/Actions/Slides/DeleteSlideInputTest.php

19 lines
410 B
PHP

<?php
declare(strict_types=1);
use App\Actions\Slides\DeleteSlideInput;
use App\Models\Slide;
describe('DeleteSlideInput', function (): void {
it('creates a valid DeleteSlideInput instance', function (): void {
// GIVEN
$slide = new Slide();
// WHEN
$input = new DeleteSlideInput(slide: $slide);
// THEN
expect($input->slide)->toBe($slide);
});
});