You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I am using \Storage::fake('media') in a feature test. The issue is when I try to call getUrl() method on a media instance, generated url don't have media folder name in it.
It return something like below
storage/1/oueorweoruw423234.jpg
While correct url must be something like below one
This discussion was converted from issue #2713 on December 22, 2021 12:52.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a disk with below config
and I am using
\Storage::fake('media')
in a feature test. The issue is when I try to callgetUrl()
method on a media instance, generated url don't havemedia
folder name in it.It return something like below
While correct url must be something like below one
Beta Was this translation helpful? Give feedback.
All reactions