mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-06 03:36:25 +00:00
16 lines
251 B
Go
16 lines
251 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)
|
|
}
|