Revert "Add return types to test methods"

This reverts commit 83fb6826ee.
This commit is contained in:
Marcus Moore
2024-08-06 13:30:34 -07:00
parent 95516b0343
commit 82e795b642
106 changed files with 498 additions and 498 deletions
+4 -4
View File
@@ -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 ' => [