mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
file server images in prod and internet sourced images in other environments
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
defmodule PlantIdDiscordBotTest.Mocks.PlantNet.Images do
|
||||
@moduledoc """
|
||||
Mocks images passed to the PlantNet API. This means that the response will not be the images you have uploaded, but rather the response from the images below.
|
||||
"""
|
||||
def images() do
|
||||
[
|
||||
"https://upload.wikimedia.org/wikipedia/commons/f/ff/Prunus_cerasifera_A.jpg",
|
||||
"https://le-jardin-de-pascal.com/2195113-large_default/prunus-cerasifera-atropurpurea-prunier-myrobolan-nigra.jpg"
|
||||
]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user