mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 01:06:45 +00:00
Fix SQLiteStore test
This commit is contained in:
@@ -2,6 +2,7 @@ package event
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@@ -37,7 +38,7 @@ func TestNewSQLiteStore(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(len(result))
|
||||
assert.Len(t, result, 10)
|
||||
|
||||
result, err = store.GetLast(accountID, 5)
|
||||
if err != nil {
|
||||
@@ -45,5 +46,5 @@ func TestNewSQLiteStore(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(len(result))
|
||||
assert.Len(t, result, 5)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user