2021-10-10 16:18:14 +02:00
|
|
|
package api
|
2021-06-29 11:59:49 +02:00
|
|
|
|
|
|
|
import (
|
|
|
|
"io/ioutil"
|
2021-10-03 17:57:22 +02:00
|
|
|
"log"
|
2021-06-29 11:59:49 +02:00
|
|
|
"os"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SETUP: mute logs
|
|
|
|
func TestMain(m *testing.M) {
|
|
|
|
log.SetOutput(ioutil.Discard)
|
|
|
|
os.Exit(m.Run())
|
|
|
|
}
|