test_:fix lint issue

This commit is contained in:
frank 2024-07-25 16:44:58 +08:00
parent f7691a6214
commit 25143155cf
No known key found for this signature in database
GPG Key ID: B56FA1FC264D28FD
1 changed files with 1 additions and 0 deletions

View File

@ -940,6 +940,7 @@ func TestFinishPairingThroughSeedPhraseProcess(t *testing.T) {
require.Empty(t, acc2.Name)
require.Empty(t, s2.DisplayName)
db2, err := accounts.NewDB(b2.appDB)
require.NoError(t, err)
n, err = db2.GetSettingLastSynced(settings.DisplayName)
require.NoError(t, err)
require.True(t, n == 0)