Chore: Fixes small typos (#31461)

This commit is contained in:
Hugo Häggmark
2021-02-25 08:59:26 +01:00
committed by GitHub
parent c9dbf5a0d0
commit 1725bf773f

View File

@ -42,14 +42,14 @@ func TestCreatingAlertDefinition(t *testing.T) {
expectedUpdated time.Time expectedUpdated time.Time
}{ }{
{ {
desc: "should create successfuly an alert definition with default interval", desc: "should create successfully an alert definition with default interval",
inputIntervalSeconds: nil, inputIntervalSeconds: nil,
inputTitle: "a name", inputTitle: "a name",
expectedInterval: defaultIntervalSeconds, expectedInterval: defaultIntervalSeconds,
expectedUpdated: time.Unix(0, 0).UTC(), expectedUpdated: time.Unix(0, 0).UTC(),
}, },
{ {
desc: "should create successfuly an alert definition with custom interval", desc: "should create successfully an alert definition with custom interval",
inputIntervalSeconds: &customIntervalSeconds, inputIntervalSeconds: &customIntervalSeconds,
inputTitle: "another name", inputTitle: "another name",
expectedInterval: customIntervalSeconds, expectedInterval: customIntervalSeconds,