mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
20 lines
392 B
Go
20 lines
392 B
Go
// SPDX-FileCopyrightText: 2022 Free Mobile
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"akvorado/common/reporter"
|
|
)
|
|
|
|
func TestFakeExporterStart(t *testing.T) {
|
|
r := reporter.NewMock(t)
|
|
config := FakeExporterConfiguration{}
|
|
config.Reset()
|
|
if err := fakeExporterStart(r, config, true); err != nil {
|
|
t.Fatalf("fakeExporterStart() error:\n%+v", err)
|
|
}
|
|
}
|