Closed gui-com-pt closed 6 years ago
Everything is working fine for me. the storagePath
method is defined in Lumen's Application.php
, which extends the Container. Are your dependencies up to date?
Heya, this is working for me as well. Let us know if this problem persists.
Description:
I'm testing a endpoint that uploads a file and i'm using the fake method for Storage but it's getting a error.
Steps To Reproduce:
At the begin of the test, i invoke:
Storage::fake('uploaded');
And it returns the following error:
Error: Call to undefined method Illuminate\Container\Container::storagePath()
This is where the trace gets me: