From 2f30693bb28993906ad94403d8dd3c60c0ec4e83 Mon Sep 17 00:00:00 2001 From: yongkangchia Date: Wed, 19 Jun 2024 14:28:50 +0800 Subject: [PATCH] Added Mock file for general config --- .../services/chainlink/mocks/general_config.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/services/chainlink/mocks/general_config.go b/core/services/chainlink/mocks/general_config.go index c7e224f4f2a..922ab8bc0ba 100644 --- a/core/services/chainlink/mocks/general_config.go +++ b/core/services/chainlink/mocks/general_config.go @@ -46,6 +46,24 @@ func (_m *GeneralConfig) AppID() uuid.UUID { return r0 } +// AptosEnabled provides a mock function with given fields: +func (_m *GeneralConfig) AptosEnabled() bool { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for AptosEnabled") + } + + var r0 bool + if rf, ok := ret.Get(0).(func() bool); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(bool) + } + + return r0 +} + // AuditLogger provides a mock function with given fields: func (_m *GeneralConfig) AuditLogger() config.AuditLogger { ret := _m.Called()