Remove creation-defer-length declaration from tests that don't use it
This commit is contained in:
parent
8c3ceebcfc
commit
a74c46816d
|
@ -25,7 +25,7 @@ func TestConcat(t *testing.T) {
|
||||||
Method: "OPTIONS",
|
Method: "OPTIONS",
|
||||||
Code: http.StatusOK,
|
Code: http.StatusOK,
|
||||||
ResHeader: map[string]string{
|
ResHeader: map[string]string{
|
||||||
"Tus-Extension": "creation,creation-with-upload,creation-defer-length,concatenation",
|
"Tus-Extension": "creation,creation-with-upload,concatenation",
|
||||||
},
|
},
|
||||||
}).Run(handler, t)
|
}).Run(handler, t)
|
||||||
})
|
})
|
||||||
|
|
|
@ -20,7 +20,7 @@ func TestOptions(t *testing.T) {
|
||||||
(&httpTest{
|
(&httpTest{
|
||||||
Method: "OPTIONS",
|
Method: "OPTIONS",
|
||||||
ResHeader: map[string]string{
|
ResHeader: map[string]string{
|
||||||
"Tus-Extension": "creation,creation-with-upload,creation-defer-length",
|
"Tus-Extension": "creation,creation-with-upload",
|
||||||
"Tus-Version": "1.0.0",
|
"Tus-Version": "1.0.0",
|
||||||
"Tus-Resumable": "1.0.0",
|
"Tus-Resumable": "1.0.0",
|
||||||
"Tus-Max-Size": "400",
|
"Tus-Max-Size": "400",
|
||||||
|
|
|
@ -24,7 +24,7 @@ func TestTerminate(t *testing.T) {
|
||||||
Method: "OPTIONS",
|
Method: "OPTIONS",
|
||||||
Code: http.StatusOK,
|
Code: http.StatusOK,
|
||||||
ResHeader: map[string]string{
|
ResHeader: map[string]string{
|
||||||
"Tus-Extension": "creation,creation-with-upload,creation-defer-length,termination",
|
"Tus-Extension": "creation,creation-with-upload,termination",
|
||||||
},
|
},
|
||||||
}).Run(handler, t)
|
}).Run(handler, t)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue