phases 8
This commit is contained in:
@@ -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();
|
||||
});
|
||||
Reference in New Issue
Block a user