Skip to content

Commit

Permalink
test:modifying unit test
Browse files Browse the repository at this point in the history
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>
  • Loading branch information
mohamedasifs123 committed Jun 25, 2024
1 parent 07c4821 commit a0ecb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sztp-agent/pkg/secureagent/daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func TestAgent_doReportProgress(t *testing.T) {
DhcpLeaseFile: tt.fields.DhcpLeaseFile,
ProgressJSON: tt.fields.ProgressJSON,
}
if err := a.doReportProgress(ProgressTypeBootstrapInitiated); (err != nil) != tt.wantErr {
if err := a.doReportProgress(ProgressTypeBootstrapInitiated, "Bootstrap Initiated"); (err != nil) != tt.wantErr {
t.Errorf("doReportProgress() error = %v, wantErr %v", err, tt.wantErr)
}
})
Expand Down

0 comments on commit a0ecb07

Please sign in to comment.