in progress

This commit is contained in:
2025-12-02 18:54:48 +03:00
parent 1af2045a1b
commit d7bd28b759
8 changed files with 224 additions and 0 deletions

30
flashcall_test.go Normal file
View File

@@ -0,0 +1,30 @@
package sigmasms
import (
"log"
"os"
"testing"
)
func loadToken(t *testing.T) string {
data, err := os.ReadFile("./token.test")
if err != nil {
t.Fatalf("test token load error: %v", err)
}
return string(data)
}
func TestFlashCall(t *testing.T) {
token := loadToken(t)
log.Println(token)
}
func TestSMS(t *testing.T) {
token := loadToken(t)
SendSMS(
token,
"+79857770038",
"NG.Market",
"Привет",
)
}