Indicate duplicate upload slots to the client

This commit is contained in:
simon987
2019-03-10 10:48:46 -04:00
parent b611c4d1cf
commit b05c9f2b1a
3 changed files with 34 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import (
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/sqlite"
"github.com/simon987/ws_bucket/api"
"os"
"testing"
"time"
)
@@ -22,4 +23,5 @@ func TestMain(m *testing.M) {
time.Sleep(time.Millisecond * 100)
m.Run()
_ = os.Remove("test.db")
}