@@ -110,7 +110,7 @@ func TestService_Delete(t *testing.T) {
110110 ctx := context .Background ()
111111 ns := namespace .DefaultNamespace
112112
113- svc .Upsert (ctx , ns , & Entity {URN : "urn:x" , Type : TypeJob , Name : "x" })
113+ _ , _ = svc .Upsert (ctx , ns , & Entity {URN : "urn:x" , Type : TypeJob , Name : "x" })
114114
115115 err := svc .Delete (ctx , ns , "urn:x" )
116116 if err != nil {
@@ -129,8 +129,8 @@ func TestService_GetAll(t *testing.T) {
129129 ctx := context .Background ()
130130 ns := namespace .DefaultNamespace
131131
132- svc .Upsert (ctx , ns , & Entity {URN : "urn:a" , Type : TypeTable , Name : "a" })
133- svc .Upsert (ctx , ns , & Entity {URN : "urn:b" , Type : TypeJob , Name : "b" })
132+ _ , _ = svc .Upsert (ctx , ns , & Entity {URN : "urn:a" , Type : TypeTable , Name : "a" })
133+ _ , _ = svc .Upsert (ctx , ns , & Entity {URN : "urn:b" , Type : TypeJob , Name : "b" })
134134
135135 entities , count , err := svc .GetAll (ctx , ns , Filter {})
136136 if err != nil {
@@ -150,9 +150,9 @@ func TestService_GetTypes(t *testing.T) {
150150 ctx := context .Background ()
151151 ns := namespace .DefaultNamespace
152152
153- svc .Upsert (ctx , ns , & Entity {URN : "urn:a" , Type : TypeTable , Name : "a" })
154- svc .Upsert (ctx , ns , & Entity {URN : "urn:b" , Type : TypeTable , Name : "b" })
155- svc .Upsert (ctx , ns , & Entity {URN : "urn:c" , Type : TypeJob , Name : "c" })
153+ _ , _ = svc .Upsert (ctx , ns , & Entity {URN : "urn:a" , Type : TypeTable , Name : "a" })
154+ _ , _ = svc .Upsert (ctx , ns , & Entity {URN : "urn:b" , Type : TypeTable , Name : "b" })
155+ _ , _ = svc .Upsert (ctx , ns , & Entity {URN : "urn:c" , Type : TypeJob , Name : "c" })
156156
157157 types , err := svc .GetTypes (ctx , ns )
158158 if err != nil {
0 commit comments