mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Call the asset factory directly
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bd8737d986
commit
2d112f227a
|
@ -32,9 +32,7 @@ class AssetIndexTest extends TestCase
|
|||
|
||||
public function testAssetApiIndexReturnsDisplayUpcomingAuditsDueToday()
|
||||
{
|
||||
$assets = Asset::factory()->count(3)->create(['next_audit_date' => Carbon::now()->format('Y-m-d')]);
|
||||
|
||||
//dd($assets);
|
||||
Asset::factory()->count(3)->create(['next_audit_date' => Carbon::now()->format('Y-m-d')]);
|
||||
|
||||
$this->assertTrue(Asset::count() === 3);
|
||||
|
||||
|
|
Loading…
Reference in a new issue