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
@@ -6,7 +6,7 @@ use Tests\TestCase;
final class AssetMaintenanceTest extends TestCase
{
public function testZerosOutWarrantyIfBlank(): void
public function testZerosOutWarrantyIfBlank()
{
$c = new AssetMaintenance;
$c->is_warranty = '';
@@ -15,7 +15,7 @@ final class AssetMaintenanceTest extends TestCase
$this->assertTrue($c->is_warranty == 4);
}
public function testSetsCostsAppropriately(): void
public function testSetsCostsAppropriately()
{
$c = new AssetMaintenance();
$c->cost = '0.00';
@@ -26,7 +26,7 @@ final class AssetMaintenanceTest extends TestCase
$this->assertTrue($c->cost === 9.5);
}
public function testNullsOutNotesIfBlank(): void
public function testNullsOutNotesIfBlank()
{
$c = new AssetMaintenance;
$c->notes = '';
@@ -35,7 +35,7 @@ final class AssetMaintenanceTest extends TestCase
$this->assertTrue($c->notes === 'This is a long note');
}
public function testNullsOutCompletionDateIfBlankOrInvalid(): void
public function testNullsOutCompletionDateIfBlankOrInvalid()
{
$c = new AssetMaintenance;
$c->completion_date = '';