Skip to content

Commit 94583b7

Browse files
committed
fix: tests
1 parent eff8e8d commit 94583b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

route_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ func TestNewRoute(t *testing.T) {
348348
{
349349
name: "parameters is nil",
350350
setup: func() {
351-
mockConfig.EXPECT().GetBool("http.drivers.fiber.prefork", false).Return(false).Once()
352351
mockConfig.EXPECT().GetInt("http.drivers.fiber.body_limit", 4096).Return(4096).Once()
353352
mockConfig.EXPECT().GetInt("http.drivers.fiber.header_limit", 4096).Return(4096).Once()
354353
},
@@ -358,7 +357,6 @@ func TestNewRoute(t *testing.T) {
358357
name: "template is instance",
359358
parameters: map[string]any{"driver": "fiber"},
360359
setup: func() {
361-
mockConfig.EXPECT().GetBool("http.drivers.fiber.prefork", false).Return(false).Once()
362360
mockConfig.EXPECT().GetInt("http.drivers.fiber.body_limit", 4096).Return(4096).Once()
363361
mockConfig.EXPECT().GetInt("http.drivers.fiber.header_limit", 4096).Return(4096).Once()
364362
mockConfig.EXPECT().Get("http.drivers.fiber.template").Return(template).Once()

0 commit comments

Comments
 (0)