Refactored the codebase to change the namespaces of various actions and queries from `App\Actions` to `App\Cqs\Actions` and `App\Queries` to `App\Cqs\Queries`. This restructuring improves organization and clarity in the codebase.
19 lines
414 B
PHP
19 lines
414 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Cqs\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);
|
|
});
|
|
});
|