MCPcopy Create free account
hub / github.com/Permify/permify / MockPQDatabase

Struct MockPQDatabase

pkg/database/postgres/mock.go:10–12  ·  view source on GitHub ↗

MockPQDatabase simulates the behavior of a real PQDatabase.

Source from the content-addressed store, hash-verified

8
9// MockPQDatabase simulates the behavior of a real PQDatabase.
10type MockPQDatabase struct {
11 mock.Mock
12}
13
14func (m *MockPQDatabase) GetEngineType() string {
15 args := m.Called()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected