From fd3826abf42f69db546eff18d269e462843feb49 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 30 Aug 2012 11:30:39 +0300 Subject: Replace ApplicationResource with ConnectorResource (#9419) --- tests/server-side/com/vaadin/tests/server/TestMimeTypes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/server-side') diff --git a/tests/server-side/com/vaadin/tests/server/TestMimeTypes.java b/tests/server-side/com/vaadin/tests/server/TestMimeTypes.java index 7bb1fd0050..dc730f6cc4 100644 --- a/tests/server-side/com/vaadin/tests/server/TestMimeTypes.java +++ b/tests/server-side/com/vaadin/tests/server/TestMimeTypes.java @@ -17,10 +17,10 @@ public class TestMimeTypes extends TestCase { } }; - Embedded e = new Embedded("A pdf", new ClassResource("file.pddf", app)); + Embedded e = new Embedded("A pdf", new ClassResource("file.pddf")); assertEquals("Invalid mimetype", "application/octet-stream", e.getMimeType()); - e = new Embedded("A pdf", new ClassResource("file.pdf", app)); + e = new Embedded("A pdf", new ClassResource("file.pdf")); assertEquals("Invalid mimetype", "application/pdf", e.getMimeType()); } } -- cgit v1.2.3