chore(auth): finalize test of new structure
This commit is contained in:
@@ -29,7 +29,7 @@ func TestGetUser(t *testing.T) {
|
||||
db := setupDb(t)
|
||||
defer db.Close()
|
||||
|
||||
underTest := AuthSqlite{db: db}
|
||||
underTest := DbAuthSqlite{db: db}
|
||||
|
||||
_, err := underTest.GetUser("someNonExistentEmail")
|
||||
if err != UserNotFound {
|
||||
@@ -42,7 +42,7 @@ func TestGetUser(t *testing.T) {
|
||||
db := setupDb(t)
|
||||
defer db.Close()
|
||||
|
||||
underTest := AuthSqlite{db: db}
|
||||
underTest := DbAuthSqlite{db: db}
|
||||
|
||||
verifiedAt := time.Date(2020, 1, 5, 13, 0, 0, 0, time.UTC)
|
||||
createAt := time.Date(2020, 1, 5, 12, 0, 0, 0, time.UTC)
|
||||
|
||||
Reference in New Issue
Block a user