Backend: Add tests to internal/query
This commit is contained in:
parent
07e4d22464
commit
b4c27ffb51
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
func TestFileShares(t *testing.T) {
|
func TestFileShares(t *testing.T) {
|
||||||
t.Run("search for id and status", func(t *testing.T) {
|
t.Run("search for id and status", func(t *testing.T) {
|
||||||
r, err := FileShares(uint(1000001), "test")
|
r, err := FileShares(uint(1000001), "new")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue