Ryan McKinley 7 lat temu
rodzic
commit
164ddb16c9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pkg/services/sqlstore/annotation_test.go

+ 1 - 1
pkg/services/sqlstore/annotation_test.go

@@ -83,7 +83,7 @@ func TestAnnotations(t *testing.T) {
 				Convey("Has created and updated values", func() {
 					So(items[0].Created, ShouldBeGreaterThan, 0)
 					So(items[0].Updated, ShouldBeGreaterThan, 0)
-					So(items[0].Updated, ShouldEqual, items[1].Created)
+					So(items[0].Updated, ShouldEqual, items[0].Created)
 				})
 			})