1
0
Fork 0

oni-php: Add snippet for test class

This commit is contained in:
Tom Willemse 2025-01-22 12:23:12 -08:00
parent 097630b001
commit d8468edadc

View file

@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: test-class
# key: test
# --
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class ${1:`(file-name-sans-extension (file-name-nondirectory (buffer-file-name)))`} extends TestCase
{
use RefreshDatabase, WithFaker;
$0
}