mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
19 lines
404 B
Go
19 lines
404 B
Go
package models
|
|
|
|
import (
|
|
"testing"
|
|
|
|
_ "github.com/go-sql-driver/mysql"
|
|
_ "github.com/iwind/TeaGo/bootstrap"
|
|
"github.com/iwind/TeaGo/dbs"
|
|
)
|
|
|
|
func TestMessageRecipientDAO_FindAllEnabledAndOnRecipientIdsWithGroup(t *testing.T) {
|
|
dbs.NotifyReady()
|
|
recipientIds, err := SharedMessageRecipientDAO.FindAllEnabledAndOnRecipientIdsWithGroup(nil, 4)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log(recipientIds)
|
|
}
|