20 lines
400 B
PHP
20 lines
400 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
use App\Actions\Ranges\DeleteRangeInput;
|
||
|
|
use App\Models\Range;
|
||
|
|
|
||
|
|
describe('DeleteRangeInput', function () {
|
||
|
|
test('it can be instantiated with a range model', function () {
|
||
|
|
// GIVEN
|
||
|
|
$range = new Range();
|
||
|
|
|
||
|
|
// WHEN
|
||
|
|
$input = new DeleteRangeInput(range: $range);
|
||
|
|
|
||
|
|
// THEN
|
||
|
|
expect($input->range)->toBe($range);
|
||
|
|
});
|
||
|
|
});
|