From 12dfef1578c4f044b389768d1a1453595da888c0 Mon Sep 17 00:00:00 2001 From: Nayan Date: Tue, 10 May 2022 10:59:20 +0600 Subject: [PATCH] fix: Test failing for theme name change (#13663) Fixes a failing junit test due to theme name change. --- .../server/solutions/ImportExportApplicationServiceTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ImportExportApplicationServiceTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ImportExportApplicationServiceTests.java index f324cca3d5..14213e6444 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ImportExportApplicationServiceTests.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ImportExportApplicationServiceTests.java @@ -2544,8 +2544,8 @@ public class ImportExportApplicationServiceTests { }); StepVerifier.create(exportedAppJson).assertNext(applicationJson -> { - assertThat(applicationJson.getEditModeTheme().getName()).isEqualTo(Theme.DEFAULT_THEME_NAME); - assertThat(applicationJson.getPublishedTheme().getName()).isEqualTo(Theme.DEFAULT_THEME_NAME); + assertThat(applicationJson.getEditModeTheme().getName()).isEqualToIgnoringCase(Theme.DEFAULT_THEME_NAME); + assertThat(applicationJson.getPublishedTheme().getName()).isEqualToIgnoringCase(Theme.DEFAULT_THEME_NAME); }).verifyComplete(); }