mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
using circle as my tester
This commit is contained in:
parent
db91033b6e
commit
fa021b547a
@ -81,9 +81,9 @@ func TestAnnotations(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
Convey("Has created and updated values", func() {
|
Convey("Has created and updated values", func() {
|
||||||
So(items[0].created, ShouldBeGreaterThan, 0)
|
So(items[0].Created, ShouldBeGreaterThan, 0)
|
||||||
So(items[0].updated, ShouldBeGreaterThan, 0)
|
So(items[0].Updated, ShouldBeGreaterThan, 0)
|
||||||
So(items[0].created, ShouldBeEqual, items[1].created)
|
So(items[0].Updated, ShouldBeEqual, items[1].Created)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ func TestAnnotations(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
Convey("Updated time has increased", func() {
|
Convey("Updated time has increased", func() {
|
||||||
So(items[0].updated, ShouldBeGreaterThan, items[0].created)
|
So(items[0].Updated, ShouldBeGreaterThan, items[0].Created)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user