bindbox-game/internal/service/user/request_shipping_batch_test.go

16 lines
389 B
Go

package user
import (
"context"
"testing"
)
func TestRequestShippings_DedupAndSkip(t *testing.T) {
s := New(nil, nil)
// s.readDB/s.writeDB are nil in this placeholder; this test is a placeholder to ensure compilation.
_, _, _, _, _, err := s.RequestShippings(context.Background(), 1, []int64{0, 1, 1}, nil)
if err != nil {
// no real DB; just ensure function can be called
}
}