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
}{
{
desc: "should create successfuly an alert definition with default interval",
desc: "should create successfully an alert definition with default interval",
inputIntervalSeconds: nil,
inputTitle: "a name",
expectedInterval: defaultIntervalSeconds,
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,
inputTitle: "another name",
expectedInterval: customIntervalSeconds,