lib/model: Error check in test (#7508)

This commit is contained in:
Lars Lehtonen 2021-03-21 02:32:17 -07:00 committed by GitHub
parent ebcd22b02b
commit a87c5515bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -4185,6 +4185,9 @@ func TestPendingFolder(t *testing.T) {
}
device3, err := protocol.DeviceIDFromString("AIBAEAQ-CAIBAEC-AQCAIBA-EAQCAIA-BAEAQCA-IBAEAQC-CAIBAEA-QCAIBA7")
if err != nil {
t.Fatal(err)
}
setDevice(t, w, config.DeviceConfiguration{DeviceID: device3})
if err := m.db.AddOrUpdatePendingFolder(pfolder, pfolder, device3, false); err != nil {
t.Fatal(err)