Skip to content

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisgoddard committed Mar 8, 2024
1 parent c71f51e commit 83c693d
Show file tree
Hide file tree
Showing 5 changed files with 1,746 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*~
.venv
.venv
vendor/
2 changes: 2 additions & 0 deletions authenticatron.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// Both of these are set with Google Authenticator in mind.
// Any other length is your own problem.

//declare(strict_types=1);

class Authenticatron
{
private string $issuerDefault;
Expand Down
13 changes: 13 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"autoload": {
"classmap": [
"src/",
"lib/",
"_libs/",
"authenticatron.php"
]
},
"require-dev": {
"phpunit/phpunit": "11"
}
}
Loading

0 comments on commit 83c693d

Please sign in to comment.