mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
20 lines
415 B
PHP
20 lines
415 B
PHP
<?php
|
|
|
|
namespace Tests\Unit\Helpers;
|
|
|
|
use App\Helpers\Helper;
|
|
use Tests\TestCase;
|
|
|
|
class HelperTest extends TestCase
|
|
{
|
|
public function testDefaultChartColorsMethodHandlesHighValues()
|
|
{
|
|
$this->assertIsString(Helper::defaultChartColors(1000));
|
|
}
|
|
|
|
public function testDefaultChartColorsMethodHandlesNegativeNumbers()
|
|
{
|
|
$this->assertIsString(Helper::defaultChartColors(-1));
|
|
}
|
|
}
|