Refactor code for improved readability and consistency

- Removed unnecessary blank lines in various files to enhance code clarity.
- Updated comments for consistency and clarity across multiple classes and methods.
- Adjusted spacing in test files for better formatting and readability.
This commit is contained in:
Mekan1206
2026-02-08 02:24:43 +05:00
parent 2dfa3747b5
commit c46eccb24f
38 changed files with 257 additions and 257 deletions

View File

@@ -32,24 +32,24 @@ test('can list provinces', function () {
'id',
'name',
'region',
]
]
],
],
]);
$this->assertCount(2, $response->json('data'));
});
test('can list post branches', function () {
// Arrange
$province = Province::create(['name' => ['en' => 'Province 1'], 'region' => Region::AG]);
PostBranch::create([
'province_id' => $province->id,
'name' => ['en' => 'Branch 1'],
'address' => ['en' => 'Address 1'],
'description' => ['en' => 'Desc 1'],
]);
PostBranch::create([
'province_id' => $province->id,
'name' => ['en' => 'Branch 2'],
@@ -73,9 +73,9 @@ test('can list post branches', function () {
'name',
'address',
'description',
]
]
],
],
]);
$this->assertCount(2, $response->json('data'));
});