forked from AkkomaGang/akkoma
Put matchers in matchers subpackage
This commit is contained in:
parent
9723264fe5
commit
ef422a8385
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ defmodule Pleroma.MFA.TOTPTest do
|
||||||
use Pleroma.DataCase, async: true
|
use Pleroma.DataCase, async: true
|
||||||
|
|
||||||
alias Pleroma.MFA.TOTP
|
alias Pleroma.MFA.TOTP
|
||||||
import Pleroma.Test.URIHelpers
|
import Pleroma.Test.Matchers.URI
|
||||||
|
|
||||||
test "create provisioning_uri to generate qrcode" do
|
test "create provisioning_uri to generate qrcode" do
|
||||||
uri =
|
uri =
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
defmodule Pleroma.Test.URIHelpers do
|
defmodule Pleroma.Test.Matchers.URI do
|
||||||
import ExUnit.Assertions
|
import ExUnit.Assertions
|
||||||
|
|
||||||
def assert_uri_equals(%URI{} = uri_a, %URI{} = uri_b) do
|
def assert_uri_equals(%URI{} = uri_a, %URI{} = uri_b) do
|
Loading…
Reference in a new issue