From 212e98c4ba6eadefbeecf03399b94b2576a14011 Mon Sep 17 00:00:00 2001 From: Trisha Anand Date: Wed, 15 Jul 2020 16:42:53 +0530 Subject: [PATCH] Fixing test cases failing due to non unique names. (#100) --- .../appsmith/server/services/DatasourceContextServiceTest.java | 2 +- .../com/appsmith/server/services/DatasourceServiceTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java index e906cb7dea..978e7059a2 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java @@ -95,7 +95,7 @@ public class DatasourceContextServiceTest { Mono pluginMono = pluginService.findByName("Installed Plugin Name"); Datasource datasource = new Datasource(); - datasource.setName("test datasource name for authenticated fields decryption test"); + datasource.setName("test datasource name for authenticated fields decryption test null password"); DatasourceConfiguration datasourceConfiguration = new DatasourceConfiguration(); datasourceConfiguration.setUrl("http://test.com"); AuthenticationDTO authenticationDTO = new AuthenticationDTO(); diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java index e0f3ab7bf3..17e2c84785 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java @@ -461,7 +461,7 @@ public class DatasourceServiceTest { Mono pluginMono = pluginService.findByName("Installed Plugin Name"); Datasource datasource = new Datasource(); - datasource.setName("test datasource name for authenticated fields encryption test"); + datasource.setName("test datasource name for authenticated fields encryption test null password."); DatasourceConfiguration datasourceConfiguration = new DatasourceConfiguration(); datasourceConfiguration.setUrl("http://test.com"); AuthenticationDTO authenticationDTO = new AuthenticationDTO();