From 07a65d8764255ed8ab5f1161267a21b5d132fd4b Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Wed, 22 Nov 2023 08:11:44 -0800 Subject: [PATCH] fix: dropped persistence/sql test errors Signed-off-by: Lars Lehtonen --- persistence/sql/persister_nid_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/persistence/sql/persister_nid_test.go b/persistence/sql/persister_nid_test.go index 6d33b9996f0..2ca0f672be2 100644 --- a/persistence/sql/persister_nid_test.go +++ b/persistence/sql/persister_nid_test.go @@ -1883,6 +1883,7 @@ func (s *PersisterTestSuite) TestUpdateClient() { require.NoError(t, r.Persister().UpdateClient(s.t1, &u2)) actual, err = r.Persister().GetConcreteClient(s.t1, t1c1.ID) + require.NoError(t, err) require.Equal(t, "updated", actual.Name) require.Equal(t, t1Hash, actual.Secret) @@ -1892,10 +1893,12 @@ func (s *PersisterTestSuite) TestUpdateClient() { require.NoError(t, r.Persister().UpdateClient(s.t1, &u3)) actual, err = r.Persister().GetConcreteClient(s.t1, t1c1.ID) + require.NoError(t, err) require.Equal(t, "updated", actual.Name) require.NotEqual(t, t1Hash, actual.Secret) actual, err = r.Persister().GetConcreteClient(s.t2, t2c1.ID) + require.NoError(t, err) require.Equal(t, "updated", actual.Name) require.Equal(t, t2Hash, actual.Secret) })