From 5a86bb3579f56ef71fc3f36e4fc93e6562480cd9 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Sat, 25 May 2024 22:55:47 -0400 Subject: [PATCH] Add a test for the basic user auth --- .../User/BasicAuthorizationTest.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/tests/Infrastructure/User/BasicAuthorizationTest.php diff --git a/app/tests/Infrastructure/User/BasicAuthorizationTest.php b/app/tests/Infrastructure/User/BasicAuthorizationTest.php new file mode 100644 index 0000000..9038fe7 --- /dev/null +++ b/app/tests/Infrastructure/User/BasicAuthorizationTest.php @@ -0,0 +1,16 @@ +hash("hello"); + $this->assertTrue($basicAuth->verify("hello", $hashedPassword)); + } +}