fixing pm2 tests + adding pkg config tests

This commit is contained in:
Julien Neuhart
2019-07-08 18:26:17 +02:00
parent acd47b870f
commit 1b4eed1a6e
4 changed files with 122 additions and 4 deletions

View File

@@ -4,16 +4,17 @@ import (
"testing"
"github.com/stretchr/testify/require"
"github.com/thecodingmachine/gotenberg/test"
)
func TestUnoconvStart(t *testing.T) {
p := NewUnoconv(false)
p := NewUnoconv(test.CreateTestLogger())
err := p.Start()
require.Nil(t, err)
}
func TestUnoconvShutdown(t *testing.T) {
p := NewUnoconv(false)
p := NewUnoconv(test.CreateTestLogger())
err := p.Shutdown()
require.Nil(t, err)
}