projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clarify description and suggestion
[akkoma]
/
test
/
mfa
/
backup_codes_test.exs
1
defmodule Pleroma.MFA.BackupCodesTest do
2
use Pleroma.DataCase
3
4
alias Pleroma.MFA.BackupCodes
5
6
test "generate backup codes" do
7
codes = BackupCodes.generate(number_of_codes: 2, length: 4)
8
9
assert [<<_::bytes-size(4)>>, <<_::bytes-size(4)>>] = codes
10
end
11
end