fix tests
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class Preferences extends BaseModel
|
||||
{
|
||||
protected $table = 'user_preferences';
|
||||
@@ -34,15 +32,15 @@ class Preferences extends BaseModel
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'user_id' => 'integer',
|
||||
'user_id' => 'integer',
|
||||
|
||||
'receive_email_notifications' => 'boolean',
|
||||
'receive_sms_notifications' => 'boolean',
|
||||
'receive_push_notifications' => 'boolean',
|
||||
'daily_summary_email' => 'boolean',
|
||||
'privacy_mode' => 'boolean',
|
||||
'marketing_emails' => 'boolean',
|
||||
'account_activity_alerts' => 'boolean',
|
||||
'receive_sms_notifications' => 'boolean',
|
||||
'receive_push_notifications' => 'boolean',
|
||||
'daily_summary_email' => 'boolean',
|
||||
'privacy_mode' => 'boolean',
|
||||
'marketing_emails' => 'boolean',
|
||||
'account_activity_alerts' => 'boolean',
|
||||
];
|
||||
|
||||
/* Optional relationship */
|
||||
|
||||
Reference in New Issue
Block a user