mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 22:43:08 +08:00
Chore: Fixes small typos (#31461)
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user