Skip to content

A free open source IT asset/license management system

Formatting

Marcus Mooreea6cf7258047
diff --git a/tests/Unit/AssetTest.php b/tests/Unit/AssetTest.php
index f9c1da5cf4..1316a385ce 100644
--- a/tests/Unit/AssetTest.php
+++ b/tests/Unit/AssetTest.php
@@ -204,17 +204,9 @@ class AssetTest extends TestCase
{
$urlBase = config('filesystems.disks.public.url');
- $category = Category::factory()->create([
- 'image' => 'category-image.jpg',
- ]);
-
- $model = AssetModel::factory()->for($category)->create([
- 'image' => 'asset-model-image.jpg',
- ]);
-
- $asset = Asset::factory()->for($model, 'model')->create([
- 'image' => 'asset-image.jpg',
- ]);
+ $category = Category::factory()->create(['image' => 'category-image.jpg']);
+ $model = AssetModel::factory()->for($category)->create(['image' => 'asset-model-image.jpg']);
+ $asset = Asset::factory()->for($model, 'model')->create(['image' => 'asset-image.jpg']);
$this->assertEquals(
"{$urlBase}/assets/asset-image.jpg",