Fixes for caches in github actions

This commit is contained in:
David Bomba 2023-06-14 15:11:01 +10:00
parent 72e947c9a4
commit 7ede5120bb

View File

@ -11,25 +11,30 @@
namespace Tests\Unit; namespace Tests\Unit;
use Tests\TestCase;
use App\Models\User;
use App\Models\Client;
use App\Models\Account;
use App\Models\Company;
use App\Utils\Traits\AppSetup;
use App\Factory\RecurringExpenseFactory; use App\Factory\RecurringExpenseFactory;
use App\Factory\RecurringExpenseToExpenseFactory; use App\Factory\RecurringExpenseToExpenseFactory;
use App\Models\Account;
use App\Models\Client;
use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
/** /**
* @test * @test
*/ */
class RecurringExpenseCloneTest extends TestCase class RecurringExpenseCloneTest extends TestCase
{ {
use AppSetup;
public $faker; public $faker;
protected function setUp() :void protected function setUp() :void
{ {
parent::setUp(); parent::setUp();
$this->faker = \Faker\Factory::create(); $this->faker = \Faker\Factory::create();
$this->buildCache(true);
} }
public function testBadBase64String() public function testBadBase64String()