gonextcloud/apps_impl_test.go

16 lines
253 B
Go

package gonextcloud
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestClientAppsList(t *testing.T) {
if err := initClient(); err != nil {
t.FailNow()
}
l, err := c.Apps().List()
assert.NoError(t, err)
assert.NotEmpty(t, l)
}