Skip to content

Commit

Permalink
[#674] Fix test case on tcr.GetSessionInfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
mengdaming committed Aug 13, 2024
1 parent 2f0c90e commit aa528d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engine/tcr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ func initTCREngineWithFakes(
params.WithMobTimerDuration(p.MobTurnDuration),
params.WithAutoPush(p.AutoPush),
params.WithCommitFailures(p.CommitFailures),
params.WithFlavor(p.Flavor),
params.WithPollingPeriod(p.PollingPeriod),
params.WithRunMode(p.Mode),
params.WithVCS(p.VCS),
Expand Down Expand Up @@ -535,6 +536,7 @@ func Test_get_session_info(t *testing.T) {
ToolchainName: "fake-toolchain",
VCSName: fake.Name,
VCSSessionSummary: "VCS session \"" + fake.Name + "\"",
Flavor: "nice",
GitAutoPush: false,
}
assert.Equal(t, expected, tcr.GetSessionInfo())
Expand Down

0 comments on commit aa528d3

Please sign in to comment.