mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 18:14:09 -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));
|
|
}
|
|
}
|