treasurer/payway/payways/fk/fk_test.go
2023-05-16 19:21:56 +03:00

36 lines
802 B
Go

package fk
import (
"fmt"
"testing"
"github.com/themakers/bdd"
)
func TestFk(t *testing.T) {
fk := New("db9f770bf1b400445fb9c7d82e59ba81", 20397)
bdd.Scenario(t, "sign creating and data preparing", func(t *testing.T, runid string) {
bdd.Test(t, "prepare data", func() {
fk.create(&ReqCreateInvoice{
ShopId: 1,
Nonce: 2,
Signature: "q",
PaymentId: "w",
I: 3,
Email: "e",
IP: "r",
Amount: 4.5,
Currency: "t",
Tel: "y",
SuccessUrl: "u",
FailureUrl: "i",
NotificationUrl: "o",
})
fmt.Println(fk.GetWallet())
fmt.Println(fk.GetCurrencies())
fmt.Println(fk.GetShops())
fmt.Println(fk.GetWithdrawalCurrencies())
})
})
}