Remove captcha dependency shape test
This commit is contained in:
parent
7ab9e2c7ce
commit
9ae1249ccb
1 changed files with 0 additions and 8 deletions
|
|
@ -50,14 +50,6 @@ defmodule Pleroma.CaptchaTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "Native" do
|
describe "Native" do
|
||||||
test "uses the published pleroma_captcha package" do
|
|
||||||
deps = Mix.Project.config() |> Keyword.fetch!(:deps)
|
|
||||||
assert {:captcha, "~> 1.0.3", opts} = Enum.find(deps, &(elem(&1, 0) == :captcha))
|
|
||||||
assert opts[:hex] == :pleroma_captcha
|
|
||||||
refute Keyword.has_key?(opts, :compile)
|
|
||||||
refute Keyword.has_key?(opts, :git)
|
|
||||||
end
|
|
||||||
|
|
||||||
test "new and validate" do
|
test "new and validate" do
|
||||||
new = Native.new()
|
new = Native.new()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue