style updates
This commit is contained in:
@@ -2,4 +2,6 @@
|
||||
|
||||
use Modules\Products\Models\Product;
|
||||
|
||||
it('can create a Product', function (): void { expect(Product::query()->create(['name' => 'Example']))->toBeInstanceOf(Product::class); });
|
||||
it('can create a Product', function (): void {
|
||||
expect(Product::query()->create(['name' => 'Example']))->toBeInstanceOf(Product::class);
|
||||
});
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Modules\Products\Providers\ProductsServiceProvider;
|
||||
|
||||
it('boots the Products module', function (): void {
|
||||
expect(app()->providerIsLoaded(Modules\Products\Providers\ProductsServiceProvider::class))->toBeTrue();
|
||||
expect(app()->providerIsLoaded(ProductsServiceProvider::class))->toBeTrue();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user