mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-22 03:04:23 -04:00
lib/model: Error check in test (#7508)
This commit is contained in:
1 parent
ebcd22b02b
commit
a87c5515bd
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user