determine returnal

This commit is contained in:
mr
2024-07-18 15:35:30 +02:00
parent 6d104288b7
commit 08100eb57f
13 changed files with 85 additions and 72 deletions

View File

@@ -22,7 +22,7 @@ func TestStoreOneProcessing(t *testing.T) {
}
sma := ProcessingMongoAccessor{}
id := sma.StoreOne(&p)
id, _ := sma.StoreOne(&p)
assert.NotEmpty(t, id)
}
@@ -41,6 +41,6 @@ func TestLoadOneProcessing(t *testing.T) {
}
sma := ProcessingMongoAccessor{}
new_s := sma.StoreOne(&p)
new_s, _ := sma.StoreOne(&p)
assert.Equal(t, p, new_s)
}