Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Patryk Małek <[email protected]>
  • Loading branch information
czeslavo and pmalek authored Oct 4, 2024
1 parent d41c26f commit c20475c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestKongDataPlaneClientCertificate(t *testing.T) {

t.Log("Waiting for KongDataPlaneClientCertificate to be created in the SDK")
require.EventuallyWithT(t, func(c *assert.CollectT) {
assert.True(c, factory.SDK.CACertificatesSDK.AssertExpectations(t))
assert.True(c, sdk.DataPlaneCertificatesSDK.AssertExpectations(t))
}, waitTime, tickTime)

t.Log("Setting up SDK expectations on KongDataPlaneClientCertificate deletion")
Expand All @@ -96,6 +96,6 @@ func TestKongDataPlaneClientCertificate(t *testing.T) {

t.Log("Waiting for KongDataPlaneClientCertificate to be deleted in the SDK")
assert.EventuallyWithT(t, func(c *assert.CollectT) {
assert.True(c, factory.SDK.CACertificatesSDK.AssertExpectations(t))
assert.True(c, sdk.DataPlaneCertificatesSDK.AssertExpectations(t))
}, waitTime, tickTime)
}

0 comments on commit c20475c

Please sign in to comment.