File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff 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 " ,
You can’t perform that action at this time.
0 commit comments