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

@@ -0,0 +1,18 @@
<?php
/**
* A Factory State that makes a record active.
*/
namespace App\Traits;
trait FactoryActiveTrait
{
final public function active()
{
return $this->state(function () {
return [
'active' => TRUE,
];
});
}
}