fix for subgroup tuple
added settings for swoosh adapters local
This commit is contained in:
parent
063ab6d911
commit
cda2c1fc63
3 changed files with 37 additions and 1 deletions
|
|
@ -207,5 +207,12 @@ defmodule Pleroma.Docs.GeneratorTest do
|
|||
child = Enum.at(children, 7)
|
||||
assert child[:key] == "application/xml"
|
||||
end
|
||||
|
||||
test "subgroup with module name" do
|
||||
[%{children: children} | _] = Generator.convert_to_strings(@descriptions)
|
||||
|
||||
%{group: subgroup} = Enum.at(children, 6)
|
||||
assert subgroup == {":subgroup", "Swoosh.Adapters.SMTP"}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue