mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-30 07:59:50 -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));
|
|
}
|
|
}
|