Skip to content
Snippets Groups Projects
Commit 9cc61b07 authored by Malte Bauch's avatar Malte Bauch
Browse files

Update mocks

parent d1a718f7
Branches
No related tags found
1 merge request!417Fix: Set does not update the model within the database
Pipeline #130037 failed
...@@ -32,6 +32,22 @@ func (_m *Change) Age() time.Duration { ...@@ -32,6 +32,22 @@ func (_m *Change) Age() time.Duration {
return r0 return r0
} }
// AssociatedDeviceID provides a mock function with given fields:
func (_m *Change) AssociatedDeviceID() uuid.UUID {
ret := _m.Called()
var r0 uuid.UUID
if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(uuid.UUID)
}
}
return r0
}
// Commit provides a mock function with given fields: // Commit provides a mock function with given fields:
func (_m *Change) Commit() error { func (_m *Change) Commit() error {
ret := _m.Called() ret := _m.Called()
......
...@@ -447,20 +447,6 @@ func (_m *NetworkDomain) UpdateNetworkElement(_a0 uuid.UUID, _a1 string) error { ...@@ -447,20 +447,6 @@ func (_m *NetworkDomain) UpdateNetworkElement(_a0 uuid.UUID, _a1 string) error {
return r0 return r0
} }
// UpdateNetworkElementAfterSubscribeResponse provides a mock function with given fields: _a0
func (_m *NetworkDomain) UpdateNetworkElementAfterSubscribeResponse(_a0 networkelement.NetworkElement) error {
ret := _m.Called(_a0)
var r0 error
if rf, ok := ret.Get(0).(func(networkelement.NetworkElement) error); ok {
r0 = rf(_a0)
} else {
r0 = ret.Error(0)
}
return r0
}
type mockConstructorTestingTNewNetworkDomain interface { type mockConstructorTestingTNewNetworkDomain interface {
mock.TestingT mock.TestingT
Cleanup(func()) Cleanup(func())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment