mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-05 07:37:12 +00:00
plog.TestLogger returns a buffer that holds the logs
# Conflicts: # internal/controller/apicerts/certs_expirer_test.go # internal/plog/plog_test.go # internal/plog/testing.go # pkg/oidcclient/login_test.go
This commit is contained in:
+1
-1
@@ -2555,7 +2555,7 @@ func TestController(t *testing.T) {
|
||||
require.Len(t, actualIDP.Status.Conditions, countExpectedConditions)
|
||||
require.Equal(t, tt.wantResultingUpstreams[i], *actualIDP)
|
||||
}
|
||||
testutil.RequireLogLines(t, tt.wantLogs, &log)
|
||||
testutil.RequireLogLines(t, tt.wantLogs, log)
|
||||
|
||||
// This needs to happen after the expected condition LastTransitionTime has been updated.
|
||||
wantActions := make([]coretesting.Action, 3+len(tt.wantResultingUpstreams))
|
||||
|
||||
Reference in New Issue
Block a user