diff --git a/test/fixtures/application.a/webapp/manifest.json b/test/fixtures/application.a/webapp/manifest.json new file mode 100644 index 00000000..781945df --- /dev/null +++ b/test/fixtures/application.a/webapp/manifest.json @@ -0,0 +1,13 @@ +{ + "_version": "1.1.0", + "sap.app": { + "_version": "1.1.0", + "id": "id1", + "type": "application", + "applicationVersion": { + "version": "1.2.2" + }, + "embeds": ["embedded"], + "title": "{{title}}" + } +} \ No newline at end of file diff --git a/test/lib/server/main.js b/test/lib/server/main.js index 54bd08b5..7ce17c8a 100644 --- a/test/lib/server/main.js +++ b/test/lib/server/main.js @@ -570,7 +570,7 @@ test("Get index of resources", (t) => { t.deepEqual(res.statusCode, 200, "Correct HTTP status code"); t.is(res.headers["content-type"], "text/html; charset=utf-8", "Correct content type"); t.is(/(.*)<\/title>/i.exec(res.text)[1], "Index of /", "Found correct title"); - t.deepEqual(res.text.match(/<li/g).length, 8, "Found correct amount of <li> elements"); + t.deepEqual(res.text.match(/<li/g).length, 9, "Found correct amount of <li> elements"); }), request.get("/resources").then((res) => { t.deepEqual(res.statusCode, 200, "Correct HTTP status code");