test(tests): add PSR-4 namespaces to Architecture and Feature test files
This commit is contained in:
parent
cdb30e2f70
commit
5b88fb098a
78 changed files with 157 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
use App\Casts\CalendarDateCast;
|
||||
use App\Casts\UtcDatetimeCast;
|
||||
use App\Contracts\Action;
|
||||
|
|
@ -119,7 +121,7 @@ describe('application coding rules', function (): void {
|
|||
expect(in_array($baseCast, $forbiddenCasts, true))
|
||||
->toBeFalse(
|
||||
"{$className}::casts()['{$attribute}'] must use "
|
||||
. UtcDatetimeCast::class . ' or ' . CalendarDateCast::class . " instead of '{$cast}'."
|
||||
. UtcDatetimeCast::class . ' or ' . CalendarDateCast::class . " instead of '{$cast}'."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
use Shared\Filesystem\TemporaryFileFactory;
|
||||
|
||||
describe('coding standards', function (): void {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
use Shared\DDD\Directory;
|
||||
use Shared\DDD\Entity;
|
||||
use Shared\DDD\Repository;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
describe('infra coding rules', function (): void {
|
||||
arch('No App classes are used in Infra')
|
||||
->expect('Infrastructure')
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
use App\Exceptions\GlobalHandler;
|
||||
use App\Services\ArcadiaEmployee;
|
||||
use App\Services\EmployeeUpsertServiceResult;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Testing\PendingCommand;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Console\Commands;
|
||||
|
||||
use App\Jobs\UpsertShopsPickupExceptionsUsingApiForYear;
|
||||
use Illuminate\Support\Facades\Bus;
|
||||
use Illuminate\Support\Facades\Date;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Console\Commands;
|
||||
|
||||
use App\Models\User;
|
||||
use Domain\Enums\UserRole;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
it('Should required login to access backoffice', function (): void {
|
||||
/** @var \Tests\TestCase $this */
|
||||
// GIVEN
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Models\User;
|
||||
use Domain\Enums\StatsShopType;
|
||||
use Domain\Enums\UserRole;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Cqs\Queries\Settings\GetSettingsQuery;
|
||||
use App\Models\Employee;
|
||||
use App\Models\Setting;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Jobs\FetchAndUpsertArcadiaEmployees;
|
||||
use App\Models\User;
|
||||
use Domain\Enums\UserRole;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Models\Faq;
|
||||
use App\Models\User;
|
||||
use Domain\Enums\UserRole;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Dto\OrderDto;
|
||||
use App\Models\Customer;
|
||||
use App\Models\Employee;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Dto\PageDto;
|
||||
use App\Models\Page;
|
||||
use App\Models\User;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Models\PickupException;
|
||||
use App\Models\Slide;
|
||||
use App\Models\User;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Dto\ArcadiaIncoDataDto;
|
||||
use App\Dto\ArcadiaIncoPreviewDto;
|
||||
use App\Dto\ProductDto;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Http\Requests\Bo\Products\StoreProductRequest;
|
||||
use App\Models\Customer;
|
||||
use App\Models\Discount;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Http\Requests\Bo\Ranges\StoreRangeRequest;
|
||||
use App\Models\Range;
|
||||
use App\Models\Tag;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Models\Setting;
|
||||
use App\Models\User;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Http\Requests\Bo\Shops\IndexShopRequest;
|
||||
use App\Models\PickupException;
|
||||
use App\Models\Shop;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Dto\SlideDto;
|
||||
use App\Http\Requests\Bo\Slides\StoreSlideRequest;
|
||||
use App\Models\Slide;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Bo;
|
||||
|
||||
use App\Models\Tag;
|
||||
use App\Models\User;
|
||||
use Domain\Enums\UserRole;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Ajax;
|
||||
|
||||
use App\Models\Customer;
|
||||
use App\Models\Page;
|
||||
use App\Models\Product;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Ajax;
|
||||
|
||||
use App\Http\Middleware\CustomerIsEmployed;
|
||||
use App\Http\Middleware\EnsureCustomerEmailIsVerified;
|
||||
use App\Models\Customer;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Ajax;
|
||||
|
||||
use App\Models\Customer;
|
||||
use App\Models\Discount;
|
||||
use App\Models\Page;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Auth;
|
||||
|
||||
use App\Models\Customer;
|
||||
use App\Models\Page;
|
||||
use App\Services\CrmService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Auth;
|
||||
|
||||
use App\Exceptions\Crm\CrmCustomerNotActivatedException;
|
||||
use App\Exceptions\CustomerNotEmployedException;
|
||||
use App\Models\Customer;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Auth;
|
||||
|
||||
use App\Contracts\Executor;
|
||||
use App\Cqs\Actions\Customers\RegisterCustomer;
|
||||
use App\Cqs\Actions\Customers\RegisterCustomerInput;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Auth;
|
||||
|
||||
use App\Exceptions\CustomerNotEmployedException;
|
||||
use App\Models\Customer;
|
||||
use App\Models\Page;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Auth;
|
||||
|
||||
use App\Models\Page;
|
||||
use Database\Seeders\ContentSeeder;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo;
|
||||
|
||||
it('Should required login to access customer dashboard', function (): void {
|
||||
/** @var \Tests\TestCase $this */
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Customers;
|
||||
|
||||
use App\Models\Customer;
|
||||
use App\Models\Employee;
|
||||
use App\Models\Page;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Customers;
|
||||
|
||||
use App\Dto\OrderDto;
|
||||
use App\Models\Customer;
|
||||
use App\Models\Employee;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Customers;
|
||||
|
||||
use App\Models\Customer;
|
||||
use App\Models\Page;
|
||||
use App\Services\CrmService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo;
|
||||
|
||||
use App\Models\Page;
|
||||
use App\Services\CrmService;
|
||||
use Database\Seeders\ContentSeeder;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Pages;
|
||||
|
||||
use App\Models\Discount;
|
||||
use App\Models\Page;
|
||||
use App\Models\Product;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Pages;
|
||||
|
||||
use App\Models\Page;
|
||||
use Database\Seeders\ContentSeeder;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo\Pages;
|
||||
|
||||
use App\Models\Page;
|
||||
use App\Models\Product;
|
||||
use App\Models\Range;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo;
|
||||
|
||||
use App\Contracts\Action;
|
||||
use App\Contracts\ActionInput;
|
||||
use App\Contracts\Executor;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Controllers\Fo;
|
||||
|
||||
use App\Contracts\Executor;
|
||||
use App\Cqs\Actions\Orders\ApplyPickTimeSlotOutput;
|
||||
use App\Cqs\Actions\Orders\CancelPendingOrder;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Middleware;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
describe('TrustProxies and clientIp resolution', function (): void {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Basket;
|
||||
|
||||
use App\Cqs\Queries\Products\GetProductWithPricingQuery;
|
||||
use App\Http\Requests\Basket\AddBasketRequest;
|
||||
use App\Models\Product;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Basket;
|
||||
|
||||
use App\Http\Requests\Basket\RemoveBasketRequest;
|
||||
use Domain\Models\ValueObjects\Entities\ProductId;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Dashboard;
|
||||
|
||||
use App\Cqs\Queries\Dashboard\GetBoDashboardQueryInput;
|
||||
use App\Http\Requests\Bo\Dashboard\DashboardRequest;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Discounts;
|
||||
|
||||
use App\Http\Requests\Bo\Discounts\StoreDiscountRequest;
|
||||
use Carbon\Exceptions\InvalidFormatException;
|
||||
use Domain\Enums\DiscountType;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Faqs;
|
||||
|
||||
use App\Http\Requests\Bo\Faqs\StoreFaqRequest;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo;
|
||||
|
||||
use App\Cqs\Actions\Common\ExecuteMassActionInput;
|
||||
use App\Enums\MassActionType;
|
||||
use App\Http\Requests\Bo\MassActionRequest;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Orders;
|
||||
|
||||
use App\Cqs\Queries\Orders\GetBoPaginatedOrdersQueryInput;
|
||||
use App\Http\Requests\Bo\Orders\IndexOrdersRequest;
|
||||
use Domain\Enums\OrderStatus;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Pages;
|
||||
|
||||
use App\Http\Requests\Bo\Pages\UpdatePageRequest;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\PickupExceptions;
|
||||
|
||||
use App\Http\Requests\Bo\PickupExceptions\StorePickupExceptionRequest;
|
||||
use Domain\Enums\RepeatFrequency;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Products;
|
||||
|
||||
use App\Http\Requests\Bo\Products\IndexProductRequest;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Products;
|
||||
|
||||
use App\Http\Requests\Bo\Products\StoreProductRequest;
|
||||
use Domain\Enums\ProductBrand;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Ranges;
|
||||
|
||||
use App\Http\Requests\Bo\Ranges\StoreRangeRequest;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Shops;
|
||||
|
||||
use App\Http\Requests\Bo\Shops\IndexShopRequest;
|
||||
use Domain\Models\ValueObjects\Entities\PickupExceptionId;
|
||||
use Illuminate\Contracts\Session\Session;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Shops;
|
||||
|
||||
use App\Http\Requests\Bo\Shops\StoreShopRequest;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Shops;
|
||||
|
||||
use App\Http\Requests\Bo\Shops\UpdateShopPickupExceptionsRequest;
|
||||
use App\Models\PickupException;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Slides;
|
||||
|
||||
use App\Http\Requests\Bo\Slides\StoreSlideRequest;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Bo\Tags;
|
||||
|
||||
use App\Http\Requests\Bo\Tags\StoreTagRequest;
|
||||
use Infrastructure\Adapters\Services\AppAdminAuthService;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Ajax;
|
||||
|
||||
use App\Http\Requests\Fo\Ajax\FilterProductsRequest;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Auth;
|
||||
|
||||
use App\Cqs\Actions\Customers\RegisterCustomerInput;
|
||||
use App\Http\Requests\Fo\Auth\RegisterRequest;
|
||||
use App\Models\Customer;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo;
|
||||
|
||||
use App\Cqs\Actions\Contact\SubmitContactFormInput;
|
||||
use App\Http\Requests\Fo\ContactFormRequest;
|
||||
use Domain\Models\ValueObjects\OrderReference;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Customer;
|
||||
|
||||
use App\Cqs\Actions\Crm\UpdateCustomerInput;
|
||||
use App\Http\Requests\Fo\Customer\UpdateInfosRequest;
|
||||
use Infrastructure\Adapters\Services\AppCustomerAuthService;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Customer;
|
||||
|
||||
use App\Http\Requests\Fo\Customer\UpdatePasswordRequest;
|
||||
use Infrastructure\Adapters\Services\AppCustomerAuthService;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Orders;
|
||||
|
||||
use App\Cqs\Actions\Orders\PlacePendingOrderInput;
|
||||
use App\Http\Requests\Fo\Orders\ConfirmOrderRequest;
|
||||
use App\Models\Customer;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Orders;
|
||||
|
||||
use App\Cqs\Actions\Orders\ApplyPickTimeSlotInput;
|
||||
use App\Http\Requests\Fo\Orders\PickTimeSlotRequest;
|
||||
use App\Models\Customer;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo\Orders;
|
||||
|
||||
use App\Cqs\Actions\Orders\InitializeOrderTunnelInput;
|
||||
use App\Http\Requests\Fo\Orders\ValidateSummaryRequest;
|
||||
use App\Models\Customer;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Http\Requests\Fo;
|
||||
|
||||
use App\Http\Requests\Fo\UnsubscribeNewsletterRequest;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Ramsey\Uuid\Uuid;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Jobs;
|
||||
|
||||
use App\Jobs\DeleteOldResetTokens;
|
||||
use App\Models\PasswordReset;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Jobs;
|
||||
|
||||
use App\Jobs\EnsurePublicHolidaysSyncedJob;
|
||||
use App\Models\PickupException;
|
||||
use App\Models\Shop;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Jobs;
|
||||
|
||||
use App\Jobs\SendMissingOrderReminderJob;
|
||||
use App\Models\Customer;
|
||||
use App\Models\Employee;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Jobs;
|
||||
|
||||
use App\Cqs\Actions\Orders\ClaimTodayOrderReminder;
|
||||
use App\Cqs\Actions\Orders\ReleaseTodayOrderReminder;
|
||||
use App\Jobs\SendReminderMail;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Jobs;
|
||||
|
||||
use App\Jobs\UpdateSlidesStatus;
|
||||
use App\Models\Slide;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Jobs;
|
||||
|
||||
use App\Jobs\UpsertShopsPickupExceptionsUsingApiForYear;
|
||||
use App\Models\PickupException;
|
||||
use App\Models\Shop;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Listeners;
|
||||
|
||||
use App\Listeners\UpdateCustomerLastLogin;
|
||||
use App\Models\Customer;
|
||||
use Domain\Models\ValueObjects\Email;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Providers;
|
||||
|
||||
use App\Models\Customer;
|
||||
use Domain\Models\ValueObjects\Email;
|
||||
use Illuminate\Auth\Notifications\ResetPassword;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Providers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Date;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\App\Views;
|
||||
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue