mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
console: fix asset tests (doctype changed)
This commit is contained in:
@@ -27,11 +27,11 @@ func TestServeAssets(t *testing.T) {
|
|||||||
{
|
{
|
||||||
URL: "/",
|
URL: "/",
|
||||||
ContentType: "text/html; charset=utf-8",
|
ContentType: "text/html; charset=utf-8",
|
||||||
FirstLines: []string{"<!DOCTYPE html>"},
|
FirstLines: []string{"<!doctype html>"},
|
||||||
}, {
|
}, {
|
||||||
URL: "/something",
|
URL: "/something",
|
||||||
ContentType: "text/html; charset=utf-8",
|
ContentType: "text/html; charset=utf-8",
|
||||||
FirstLines: []string{"<!DOCTYPE html>"},
|
FirstLines: []string{"<!doctype html>"},
|
||||||
}, {
|
}, {
|
||||||
URL: "/assets/akvorado.399701ee.svg",
|
URL: "/assets/akvorado.399701ee.svg",
|
||||||
ContentType: "image/svg+xml",
|
ContentType: "image/svg+xml",
|
||||||
|
|||||||
Reference in New Issue
Block a user