increase test coverage (#117)

70% test coverage
remove socialite
This commit is contained in:
Saeed Vaziry
2024-03-15 22:23:45 +01:00
committed by GitHub
parent 4f12de9586
commit a406491160
62 changed files with 1102 additions and 639 deletions

View File

@ -1,36 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int $site_id
* @property int $mode
* @property string $from
* @property string $to
* @property string $status
*/
class Redirect extends AbstractModel
{
use HasFactory;
protected $fillable = [
'site_id',
'mode',
'from',
'to',
'status',
];
protected $casts = [
'site_id' => 'integer',
'mode' => 'integer',
];
public function site(): BelongsTo
{
return $this->belongsTo(Site::class);
}
}