adjusting for less than 0 possibility
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Tests\TestCase;
|
||||
use App\Models\Statuslabel;
|
||||
use App\Models\Asset;
|
||||
|
||||
class DefaultColorKeyTest extends TestCase
|
||||
{
|
||||
public function DefaultColorKeyTest()
|
||||
{
|
||||
Statuslabel::factory()->hasAssets(1)->count(255)->create();
|
||||
|
||||
$this->defaultChartColors($index);
|
||||
|
||||
$this->assertArrayHasKey('index', ($index)[0]);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user