mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-15 04:04:43 +00:00
M3O SDK Concept
This commit is contained in:
23
examples/otp/handler/handler_test.go
Normal file
23
examples/otp/handler/handler_test.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/m3o/m3o-go/sms"
|
||||
"github.com/m3o/m3o-go/store/keyvalue"
|
||||
)
|
||||
|
||||
func TestHandler(t *testing.T) {
|
||||
h := OTP{
|
||||
SMS: sms.NewMock(),
|
||||
Store: keyvalue.NewMock(),
|
||||
}
|
||||
|
||||
t.Run("Send", func(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Verify", func(t *testing.T) {
|
||||
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user