This commit is contained in:
Mark Gregory
2026-07-24 11:53:07 +01:00
parent 979ae2421e
commit 8cef5db6b3
18 changed files with 147 additions and 0 deletions
@@ -0,0 +1,5 @@
<?php
use Modules\Products\Models\Product;
it('can create a Product', function (): void { expect(Product::query()->create(['name' => 'Example']))->toBeInstanceOf(Product::class); });
@@ -0,0 +1,5 @@
<?php
it('boots the Products module', function (): void {
expect(app()->providerIsLoaded(Modules\Products\Providers\ProductsServiceProvider::class))->toBeTrue();
});