add tests batch 20
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
namespace Tests\Unit\Services\Settings;
|
||||
|
||||
use App\Models\Setting;
|
||||
use App\Services\Settings\SettingsService;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Tests\TestCase;
|
||||
|
||||
class SettingsServiceTest extends TestCase
|
||||
@@ -12,7 +14,7 @@ class SettingsServiceTest extends TestCase
|
||||
|
||||
public function test_update_persists_settings(): void
|
||||
{
|
||||
$service = new SettingsService;
|
||||
$service = new SettingsService();
|
||||
|
||||
$result = $service->update([
|
||||
'site_name' => 'Alrahma',
|
||||
|
||||
Reference in New Issue
Block a user