Create a class or use case that calls League\Flysystem\Filesystem::temporaryUrl
It will throw League\Flysystem\UnableToGenerateTemporaryUrl: "Unable to generate temporary url for 7f736383-dcb8-47db-bd17-888b75ac9481/export_2023-09-18_09-29-05.xlsx: No generator was configured "
Bug Report
Summary
I am using the InMemoryFilesystemAdapter to test some parts of my application, so I added this configuration
At some point in my use case I need to call a method to generate a temporary URL
Inside that method there is a condition to check if the generator is an instance of
TemporaryUrlGenerator
And here is where it fails.
How to reproduce
In a Symfony 5.4 project install the following dependencies
KernelTestCase
League\Flysystem\Filesystem::temporaryUrl
League\Flysystem\UnableToGenerateTemporaryUrl
:"Unable to generate temporary url for 7f736383-dcb8-47db-bd17-888b75ac9481/export_2023-09-18_09-29-05.xlsx: No generator was configured "