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
384 B
PHP
19 lines
384 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Cqs\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);
|
|
});
|
|
});
|