mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
chore: stricter pint rules
This commit is contained in:
parent
16b2e8436e
commit
e535496a1e
30 changed files with 134 additions and 83 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use App\Models\Plugin;
|
||||
|
||||
uses(\Illuminate\Foundation\Testing\RefreshDatabase::class);
|
||||
uses(Illuminate\Foundation\Testing\RefreshDatabase::class);
|
||||
|
||||
test('plugin has required attributes', function () {
|
||||
$plugin = Plugin::factory()->create([
|
||||
|
|
@ -26,7 +26,7 @@ test('plugin automatically generates uuid on creation', function () {
|
|||
});
|
||||
|
||||
test('plugin can have custom uuid', function () {
|
||||
$uuid = \Illuminate\Support\Str::uuid();
|
||||
$uuid = Illuminate\Support\Str::uuid();
|
||||
$plugin = Plugin::factory()->create(['uuid' => $uuid]);
|
||||
|
||||
expect($plugin->uuid)->toBe($uuid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue