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

@@ -2,6 +2,7 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Log;
@@ -21,7 +22,8 @@ use App\Traits\NextKey;
*/
class Product extends Model implements IDs
{
use NextKey;
use HasFactory,NextKey;
const RECORD_ID = 'product';
public $incrementing = FALSE;