add methods for (some) missing test cases
This commit is contained in:
parent
e49d9159e4
commit
0ec7a9d274
@ -492,4 +492,10 @@ func TestChannelUpdate(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
//TODO test missing channel-xx methods
|
||||
func TestListChannelMessages(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestListChannelSubscriptions(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
@ -146,4 +146,6 @@ func TestReuseFCM(t *testing.T) {
|
||||
tt.AssertEqual(t, "clients->client_id", cid2, fmt.Sprintf("%v", r3.Clients[0]["client_id"]))
|
||||
}
|
||||
|
||||
//TODO test missing client-xx methods
|
||||
func TestListClients(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
@ -1461,10 +1461,14 @@ func TestSendParallel(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
//TODO post to foreign channel via send-key
|
||||
func TestSendToForeignChannelWithSendKey(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestSendDeliveryRetry(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
//TODO check message_counter + last_sent in channel
|
||||
|
||||
//TODO check message_counter + last_sent in user
|
||||
|
||||
//TODO test delivery-retry
|
||||
|
@ -1,3 +1,47 @@
|
||||
package test
|
||||
|
||||
//TODO test missing subscription-xx methods
|
||||
import "testing"
|
||||
|
||||
func TestListSubscriptionsOfUser(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestListSubscriptionsOfChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestCreateSubscriptionToOwnChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestCreateSubscriptionToForeignChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestGetSubscriptionToOwnChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestGetSubscriptionToForeignChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestCancelSubscriptionToForeignChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestCancelSubscriptionToOwnChannel(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestDenySubscription(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestConfirmSubscription(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
||||
func TestUnconfirmSubscription(t *testing.T) {
|
||||
t.SkipNow() //TODO
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user