Revert "Add return types to test methods"
This reverts commit 83fb6826ee.
This commit is contained in:
@@ -10,17 +10,17 @@ use Tests\TestCase;
|
||||
|
||||
final class HelperTest extends TestCase
|
||||
{
|
||||
public function testDefaultChartColorsMethodHandlesHighValues(): void
|
||||
public function testDefaultChartColorsMethodHandlesHighValues()
|
||||
{
|
||||
$this->assertIsString(Helper::defaultChartColors(1000));
|
||||
}
|
||||
|
||||
public function testDefaultChartColorsMethodHandlesNegativeNumbers(): void
|
||||
public function testDefaultChartColorsMethodHandlesNegativeNumbers()
|
||||
{
|
||||
$this->assertIsString(Helper::defaultChartColors(-1));
|
||||
}
|
||||
|
||||
public function testParseCurrencyMethod(): void
|
||||
public function testParseCurrencyMethod()
|
||||
{
|
||||
$this->settings->set(['default_currency' => 'USD']);
|
||||
$this->assertSame(12.34, Helper::ParseCurrency('USD 12.34'));
|
||||
@@ -28,7 +28,7 @@ final class HelperTest extends TestCase
|
||||
$this->settings->set(['digit_separator' => '1.234,56']);
|
||||
$this->assertSame(12.34, Helper::ParseCurrency('12,34'));
|
||||
}
|
||||
public function testGetRedirectOptionMethod(): void
|
||||
public function testGetRedirectOptionMethod()
|
||||
{
|
||||
$test_data = [
|
||||
'Option target: redirect for user assigned to ' => [
|
||||
|
||||
Reference in New Issue
Block a user