Skip to content

Commit 510a2b0

Browse files
committed
Formatting
1 parent 7305745 commit 510a2b0

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

tests/Unit/AssetTest.php

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,17 +204,9 @@ public function testGetImageUrlMethod()
204204
{
205205
$urlBase = config('filesystems.disks.public.url');
206206

207-
$category = Category::factory()->create([
208-
'image' => 'category-image.jpg',
209-
]);
210-
211-
$model = AssetModel::factory()->for($category)->create([
212-
'image' => 'asset-model-image.jpg',
213-
]);
214-
215-
$asset = Asset::factory()->for($model, 'model')->create([
216-
'image' => 'asset-image.jpg',
217-
]);
207+
$category = Category::factory()->create(['image' => 'category-image.jpg']);
208+
$model = AssetModel::factory()->for($category)->create(['image' => 'asset-model-image.jpg']);
209+
$asset = Asset::factory()->for($model, 'model')->create(['image' => 'asset-image.jpg']);
218210

219211
$this->assertEquals(
220212
"{$urlBase}/assets/asset-image.jpg",

0 commit comments

Comments
 (0)