[v8.5.x] Fix website build errors (#66110)
* remove links to broken release notes pages Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fix relref to Dashboard folders and Dashboard version history Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fix reference to Fine-grained access control Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Add packages_api build in published docs Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fix alerting test --------- Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
This commit is contained in:
co-authored by
Armand Grillet
parent
710103dcd3
commit
d1031e7a28
@@ -204,7 +204,8 @@ func TestAMConfigAccess(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("when creating silence", func(t *testing.T) {
|
||||
body := `
|
||||
now := time.Now()
|
||||
body := fmt.Sprintf(`
|
||||
{
|
||||
"comment": "string",
|
||||
"createdBy": "string",
|
||||
@@ -216,9 +217,10 @@ func TestAMConfigAccess(t *testing.T) {
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"startsAt": "2021-03-31T13:17:04.419Z"
|
||||
"startsAt": "%s",
|
||||
"endsAt": "%s"
|
||||
}
|
||||
`
|
||||
`, now.Format(time.RFC3339), now.Add(10*time.Second).Format(time.RFC3339))
|
||||
|
||||
testCases := []testCase{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user