You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
701 B
Go
61 lines
701 B
Go
package action
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
_ "joybuywork/test"
|
|
)
|
|
|
|
func TestStatHour(t *testing.T) {
|
|
d := StatHour{}
|
|
|
|
d.Init(context.Background())
|
|
|
|
d.Exec()
|
|
}
|
|
|
|
func TestStatDay(t *testing.T) {
|
|
d := StatDay{}
|
|
|
|
d.Init(context.Background())
|
|
|
|
d.Exec()
|
|
}
|
|
|
|
func TestQuizOpen(t *testing.T) {
|
|
|
|
d := CampaignQuizOpen{}
|
|
|
|
d.Init(context.Background())
|
|
|
|
d.Exec()
|
|
}
|
|
|
|
func TestPushNotify(t *testing.T) {
|
|
|
|
d := PushNotify{}
|
|
|
|
d.Init(context.Background())
|
|
|
|
d.Exec()
|
|
}
|
|
|
|
func TestCampaignCoinScene(t *testing.T) {
|
|
|
|
d := CampaignCoinScene{}
|
|
|
|
d.Init(context.Background())
|
|
|
|
d.Exec()
|
|
}
|
|
|
|
func TestCoinSceneSettlement(t *testing.T) {
|
|
|
|
d := CoinSceneSettlement{}
|
|
|
|
d.Init(context.Background())
|
|
|
|
d.Exec()
|
|
}
|