We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ceca0 commit e97a77fCopy full SHA for e97a77f
internal/driver/nodeserver_test.go
@@ -755,13 +755,6 @@ func TestNodeGetInfo(t *testing.T) {
755
},
756
757
758
- expectLinodeClientCalls: func(m *mocks.MockLinodeClient) {
759
- m.EXPECT().ListInstanceDisks(gomock.Any(), gomock.Any(), gomock.Any()).Return([]linodego.InstanceDisk{
760
- {
761
- ID: 1,
762
- },
763
- }, nil)
764
765
expectedError: nil,
766
767
}
@@ -771,9 +764,6 @@ func TestNodeGetInfo(t *testing.T) {
771
ctrl := gomock.NewController(t)
772
defer ctrl.Finish()
773
mockClient := mocks.NewMockLinodeClient(ctrl)
774
- if tt.expectLinodeClientCalls != nil {
775
- tt.expectLinodeClientCalls(mockClient)
776
- }
777
ns := &NodeServer{
778
768
driver: &LinodeDriver{},
779
769
client: mockClient,
0 commit comments