Better offline handling, implemented the local portion of delete, and maybe fixed the bug when running tests on github actions

This commit is contained in:
David Dworken
2022-09-18 09:42:24 -07:00
parent 6c6acc5473
commit 1bf510ff8a
5 changed files with 59 additions and 7 deletions

View File

@ -16,7 +16,6 @@ import (
func TestESubmitThenQuery(t *testing.T) {
// Set up
defer shared.BackupAndRestore(t)()
InitDB()
// Register a few devices
@ -114,7 +113,6 @@ func TestESubmitThenQuery(t *testing.T) {
func TestDumpRequestAndResponse(t *testing.T) {
// Set up
defer shared.BackupAndRestore(t)()
InitDB()
// Register a first device for two different users
@ -285,7 +283,6 @@ func TestUpdateReleaseVersion(t *testing.T) {
}
// Set up
defer shared.BackupAndRestore(t)()
InitDB()
// Check that ReleaseVersion hasn't been set yet