Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Mar 4, 2024
1 parent a3410f6 commit 3aa7566
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func TestGet(t *testing.T) {
RedirectURL: "example.com",
ConnectorID: "bar",
RekorMode: "online",
LogPath: "/tmp/gitsign.log",
}

execFn = func() (io.Reader, error) {
Expand Down
1 change: 1 addition & 0 deletions pkg/version/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestEnv(t *testing.T) {
os.Setenv("TUF_ROOT", "bar")
got := GetVersionInfo()
want := []string{
"GITSIGN_LOG=/tmp/gitsign.log",
"GITSIGN_CONNECTOR_ID=foobar",
"GITSIGN_TEST=foo",
"TUF_ROOT=bar",
Expand Down

0 comments on commit 3aa7566

Please sign in to comment.