mirror of
https://tvoygit.ru/Djam/artmigrator.git
synced 2025-02-24 02:42:45 +00:00
14 lines
No EOL
307 B
Go
14 lines
No EOL
307 B
Go
package nexus
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGetArtifacts(t *testing.T) {
|
|
client := NewClient("https://nexus.example.com", "user", "pass")
|
|
artifacts, err := client.GetArtifacts("test-repo")
|
|
assert.NoError(t, err)
|
|
assert.NotEmpty(t, artifacts)
|
|
} |