Trying to access a URL through canvas.NewImageFromURI()
in a test results in a panic
#4863
Closed
2 tasks done
Labels
bug
Something isn't working
Milestone
Checklist
Describe the bug
When trying to access a URL through
canvas.NewImageFromURI()
in a test I am getting a panic.This works fine in normal app code though.
This is the error message:
How to reproduce
Run a test with the below example code.
Screenshots
No response
Example code
Here is a minimal code example to reproduce this behavior:
Fyne version
2.4.5
Go compiler version
1.22.1
Operating system and version
Ubuntu 22.04.4 LTS
Additional Information
Andy mentioned on Discord that the cause might be that http/https is not mounted for storage in the test runner and suggested to open a bug report to change that.
https://discord.com/channels/953020122690359327/953030515152281650/1242832020745359392
The text was updated successfully, but these errors were encountered: