This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
thrempp/component/config_test.go

20 lines
278 B
Go
Raw Normal View History

2019-06-01 04:38:35 +02:00
package component
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestConfigStart(t *testing.T) {
assert := assert.New(t)
c := Config{}
// wrong connection
err := c.Start()
assert.NotNil(err)
// correct connection without xmpp server not possible
}