mirror of
https://github.com/safing/portbase
synced 2025-09-09 13:55:47 +00:00
Finish database queries and subscriptions / Improve Accessor
This commit is contained in:
parent
8c861a1e4f
commit
9ab95b1926
17 changed files with 235 additions and 33 deletions
|
@ -98,8 +98,8 @@ func testDatabase(t *testing.T, storageType string) {
|
|||
for _ = range it.Next {
|
||||
cnt++
|
||||
}
|
||||
if it.Error != nil {
|
||||
t.Fatal(it.Error)
|
||||
if it.Err != nil {
|
||||
t.Fatal(it.Err)
|
||||
}
|
||||
if cnt != 2 {
|
||||
t.Fatal("expected two records")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue