update error messages and get guild name

This commit is contained in:
Owen
2025-01-15 20:41:47 +01:00
committed by Owen Rees
parent 617b64eae2
commit ac513edac8
5 changed files with 55 additions and 13 deletions
+8
View File
@@ -0,0 +1,8 @@
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