Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 48s
16 lines
389 B
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
|
|
}
|
|
}
|