use the types block instead of `map' in the tests too

This commit is contained in:
Omar Polo 2022-04-07 16:21:56 +00:00
parent 6468868fee
commit 9448a01fdb
1 changed files with 5 additions and 1 deletions

View File

@ -62,7 +62,11 @@ test_dont_execute_scripts() {
}
test_custom_mime() {
setup_simple_test 'map "text/x-funny" to-ext "gmi"' ''
setup_simple_test '
types {
text/x-funny gmi
}
' ''
fetch_hdr /
check_reply "20 text/x-funny"