Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
fix: tests after structure change
Browse files Browse the repository at this point in the history
feat: Introduce authentication by login & password
  • Loading branch information
B&R committed Oct 9, 2023
1 parent e472045 commit 5b73c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/actions/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestDownload_FailsWhenShellCommandFails(t *testing.T) {
}

// perform action
err := actions.DownloadBackupIntoProcessStdin(api, crypto, "test-123", "v1", "/bin/false")
err := actions.DownloadBackupIntoProcessStdin(api, crypto, "test-123", "v1", "/bin/sleep 1 && /bin/false")

assert.Equal(t, "exit status 1", err.Error())
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/context/encryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (that EncryptionOperationContext) GetDecryptionCommand() string {
func (that EncryptionOperationContext) findBinPath() string {
executable, _ := os.Executable()
if strings.Contains(executable, ".test") {
return "../.build/backup-maker"
return "../../.build/backup-maker"
}
if executable == "" {
executable = "backup-maker"
Expand Down

0 comments on commit 5b73c8c

Please sign in to comment.