Stats: Correct the number of arguments for SQL call (#27182)
* Stats: Correct the number of arguments for SQL call * Stats: Run admin stats call as integration test
This commit is contained in:
@@ -13,6 +13,14 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestIntegration_GetAdminStats(t *testing.T) {
|
||||
InitTestDB(t)
|
||||
|
||||
query := models.GetAdminStatsQuery{}
|
||||
err := GetAdminStats(&query)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
func TestIntegration_GetUserStats(t *testing.T) {
|
||||
InitTestDB(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user