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

Add missing mock method

parent 39f37eb0
Branches
No related tags found
1 merge request!401Change the current gosdn plugin implementation from Go's internal plugin system to hashicorp's go-plugins
Pipeline #135997 failed
...@@ -730,6 +730,7 @@ func Test_pndImplementation_Confirm(t *testing.T) { ...@@ -730,6 +730,7 @@ func Test_pndImplementation_Confirm(t *testing.T) {
return return
} }
mockPlugin.On("ValidateChange", mock.Anything, mock.Anything, mock.Anything).Return([]byte{}, nil) mockPlugin.On("ValidateChange", mock.Anything, mock.Anything, mock.Anything).Return([]byte{}, nil)
mockPlugin.On("PruneConfigFalse", mock.Anything).Return([]byte{}, nil)
mockPlugin.On("Diff", mock.Anything, mock.Anything, mock.Anything).Return(&gpb.Notification{}, nil) mockPlugin.On("Diff", mock.Anything, mock.Anything, mock.Anything).Return(&gpb.Notification{}, nil)
tr, ok := mne.Transport().(*mocks.Transport) tr, ok := mne.Transport().(*mocks.Transport)
if !ok { if !ok {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment