Add a MockConn
to enable testing connections
#30109
Labels
type/enhancement
The issue or PR belongs to an enhancement.
MockConn
to enable testing connections
#30109
Currently, it's hard to add tests that involve connections outside of the
server
package. One example is testing the audit log. We need to mock a connection.The text was updated successfully, but these errors were encountered: