Explorar o código

using circle as my tester

ryan %!s(int64=7) %!d(string=hai) anos
pai
achega
fa021b547a
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      pkg/services/sqlstore/annotation_test.go

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

@@ -81,9 +81,9 @@ 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].created, ShouldBeEqual, items[1].created)
+					So(items[0].Created, ShouldBeGreaterThan, 0)
+					So(items[0].Updated, ShouldBeGreaterThan, 0)
+					So(items[0].Updated, ShouldBeEqual, items[1].Created)
 				})
 			})
 
@@ -239,7 +239,7 @@ func TestAnnotations(t *testing.T) {
 				})
 
 				Convey("Updated time has increased", func() {
-					So(items[0].updated, ShouldBeGreaterThan, items[0].created)
+					So(items[0].Updated, ShouldBeGreaterThan, items[0].Created)
 				})
 			})