- Introduced routes for managing admin settings including system, homepage, social media, marketplace, and HR settings. - Created a comprehensive test suite for the AdminSettingsController to ensure proper functionality and validation of settings updates. - Implemented tests for authentication, data integrity, and realistic user scenarios to validate the settings management process.
18 lines
305 B
PHP
18 lines
305 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class SocialMediaSettings extends Settings
|
|
{
|
|
public ?string $instagram_url;
|
|
public ?string $facebook_url;
|
|
public ?string $tiktok_url;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'social_media';
|
|
}
|
|
}
|