From e0e6fc4cf41c7a031f140b9a8bfd8c0ba5fec7e6 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 13 Feb 2018 14:58:33 +0200 Subject: Set no-store headers for error responses (#10628) --- .../main/java/com/vaadin/tests/application/CriticalNotifications.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uitest') diff --git a/uitest/src/main/java/com/vaadin/tests/application/CriticalNotifications.java b/uitest/src/main/java/com/vaadin/tests/application/CriticalNotifications.java index b0e88b102b..792043eae0 100644 --- a/uitest/src/main/java/com/vaadin/tests/application/CriticalNotifications.java +++ b/uitest/src/main/java/com/vaadin/tests/application/CriticalNotifications.java @@ -96,7 +96,7 @@ public class CriticalNotifications extends AbstractReindeerTestUI { VaadinResponse response = VaadinService.getCurrentResponse(); try { - service.writeStringResponse(response, + service.writeUncachedStringResponse(response, JsonConstants.JSON_CONTENT_TYPE, VaadinService.createCriticalNotificationJSON(caption, message, details, url)); -- cgit v1.2.3