Commit cfee9cef by mayanknj Committed by nixonrodrigues

ATLAS-3423: Import Glossary Terms from csv/excel file into Glossary (Test Cases Fix) #2

parent df8502ea
...@@ -956,7 +956,7 @@ public class GlossaryServiceTest { ...@@ -956,7 +956,7 @@ public class GlossaryServiceTest {
glossaryService.importGlossaryData(inputStream, "empty.csv"); glossaryService.importGlossaryData(inputStream, "empty.csv");
fail("Error occurred : Failed to recognize the empty file."); fail("Error occurred : Failed to recognize the empty file.");
} catch (AtlasBaseException e) { } catch (AtlasBaseException e) {
assertEquals(e.getMessage(),"No Data found in the uploaded file !"); assertEquals(e.getMessage(),"No data found in the uploaded file");
} }
} }
...@@ -970,7 +970,7 @@ public class GlossaryServiceTest { ...@@ -970,7 +970,7 @@ public class GlossaryServiceTest {
} catch (AtlasBaseException e) { } catch (AtlasBaseException e) {
assertEquals(e.getMessage(),"The uploaded file has not been processed due to the following errors : \n" + assertEquals(e.getMessage(),"The uploaded file has not been processed due to the following errors : \n" +
"[\n" + "[\n" +
"The provided Reference Glossary and TermName does not exist in the system GentsFootwear: for record with TermName : BankBranch1 and GlossaryName : testBankingGlossary]"); "The provided Reference Glossary and TermName does not exist in the system GentsFootwear: for record with TermName : BankBranch1 and GlossaryName : testBankingGlossary]");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment