Skip to content

Commit 1de4cab

Browse files
committed
IsEmpty unit tests
1 parent 705ddfc commit 1de4cab

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pkg/ingressCache/ingressCache_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,6 @@ func (suite *IngressCacheTest) TestDelete() {
173173
testMocks: func() *mock.SafeTrie {
174174
return nil
175175
}, // nil is used to check for non-existing host
176-
}, {
177-
name: "Delete existed host and path",
178-
args: testIngressCacheArgs{testHost, testPath, testFunctionName2},
179-
testMocks: func() *mock.SafeTrie {
180-
m := &mock.SafeTrie{}
181-
m.On("DeleteFunctionName", testPath, testFunctionName2).Return(nil).Once()
182-
return m
183-
},
184176
}, {
185177
name: "Delete last function in host, validate host deletion",
186178
args: testIngressCacheArgs{testHost, testPath, testFunctionName2},

0 commit comments

Comments
 (0)