Chore: Fixes small typos (#31461)

pull/31464/head
Hugo Häggmark 4 years ago committed by GitHub
parent c9dbf5a0d0
commit 1725bf773f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkg/services/ngalert/database_test.go

@ -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,

Loading…
Cancel
Save