mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-22 20:16:57 +00:00
9 lines
261 B
Elixir
9 lines
261 B
Elixir
defmodule PlantIdDiscordBot.ErrorHandlingTest do
|
|
use ExUnit.Case
|
|
|
|
test "do_identification/1 returns nil when an error occurs" do
|
|
message = PlantNetFixtures.Message.message()
|
|
PlantIdDiscordBot.Cog.PlantNetMessage.do_identification(message)
|
|
end
|
|
end
|