2018-10-21 12:53:12 +00:00
|
|
|
package gonextcloud
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestClientAppsList(t *testing.T) {
|
|
|
|
if err := initClient(); err != nil {
|
|
|
|
t.FailNow()
|
|
|
|
}
|
2018-12-11 09:27:11 +00:00
|
|
|
l, err := c.Apps().List()
|
2018-10-21 12:53:12 +00:00
|
|
|
assert.NoError(t, err)
|
|
|
|
assert.NotEmpty(t, l)
|
|
|
|
}
|