oauth2-proxy/pkg/cookies
David Symonds 110d51d1d7
test: replace mock pkg/clock with narrowly targeted stub clocks. (#3238)
The package under pkg/clock is github.com/benbjohnson/clock, which is
archived. It's also way more complex than is what is actually needed
here, so we can entirely remove the dependency and remove the helper
package.

Fixes #2840.

Signed-off-by: David Symonds <dsymonds@gmail.com>
2025-10-28 10:05:02 +01:00
..
cookies.go pkg/cookies: use 'Max-Age' instead of 'Expires' for cookie expiration 2025-02-24 11:14:51 +01:00
cookies_suite_test.go pkg/cookies: use 'Max-Age' instead of 'Expires' for cookie expiration 2025-02-24 11:14:51 +01:00
cookies_test.go pkg/cookies: use 'Max-Age' instead of 'Expires' for cookie expiration 2025-02-24 11:14:51 +01:00
csrf.go test: replace mock pkg/clock with narrowly targeted stub clocks. (#3238) 2025-10-28 10:05:02 +01:00
csrf_per_request_test.go test: replace mock pkg/clock with narrowly targeted stub clocks. (#3238) 2025-10-28 10:05:02 +01:00
csrf_test.go test: replace mock pkg/clock with narrowly targeted stub clocks. (#3238) 2025-10-28 10:05:02 +01:00