20 lines
380 B
PHP
20 lines
380 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
use App\Actions\Shops\DeleteShopInput;
|
||
|
|
use App\Models\Shop;
|
||
|
|
|
||
|
|
describe('DeleteShopInput', function () {
|
||
|
|
test('it can be instantiated with shop', function () {
|
||
|
|
// GIVEN
|
||
|
|
$shop = new Shop();
|
||
|
|
|
||
|
|
// WHEN
|
||
|
|
$input = new DeleteShopInput(shop: $shop);
|
||
|
|
|
||
|
|
// THEN
|
||
|
|
expect($input->shop)->toBe($shop);
|
||
|
|
});
|
||
|
|
});
|