mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 14:10:12 +01:00
improve test coverage
This commit is contained in:
parent
16b66ac10b
commit
f8dd9bb02a
4 changed files with 148 additions and 18 deletions
|
|
@ -3,10 +3,13 @@ package container
|
|||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
func TestEncodedEnvAuth_ShouldReturnAnErrorIfRepoEnvsAreUnset(t *testing.T) {
|
||||
os.Unsetenv("REPO_USER")
|
||||
os.Unsetenv("REPO_PASS")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue