Skip to content

Commit

Permalink
chore: improve tests for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
WatheqAlshowaiter committed Jul 18, 2024
1 parent a58a40f commit 4efc759
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/RequiredFieldsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function test_get_required_fields_for_parent_model()
], Father::getRequiredFieldsForOlderVersions());
}

public function test_get_required_fields_in_order(): void
public function test_get_required_fields_in_order()
{
$this->assertNotEquals([
'email',
Expand All @@ -36,7 +36,7 @@ public function test_get_required_fields_in_order(): void
], Father::getRequiredFieldsForOlderVersions());
}

public function test_get_required_fields_for_another_parent_model(): void
public function test_get_required_fields_for_another_parent_model()
{
$this->assertEquals([
'uuid',
Expand All @@ -49,7 +49,7 @@ public function test_get_required_fields_for_another_parent_model(): void
], Mother::getRequiredFieldsForOlderVersions());
}

public function test_get_required_fields_for_child_model(): void
public function test_get_required_fields_for_child_model()
{
$this->assertEquals([
'father_id',
Expand Down

0 comments on commit 4efc759

Please sign in to comment.