Upgraded testing to Laravel 8 - disabled most tests pending code optimisation

This commit is contained in:
Deon George
2021-06-30 14:00:41 +10:00
parent d7ef04fc25
commit ec738d590c
19 changed files with 414 additions and 206 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Models;
use Exception;
use Illuminate\Database\Eloquent\Collection as DatabaseCollection;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
@@ -30,7 +31,7 @@ use App\Traits\NextKey;
*/
class Service extends Model implements IDs
{
use NextKey;
use NextKey,HasFactory;
const RECORD_ID = 'service';
public $incrementing = FALSE;