QQQ-21: fixed broken tests due to no longer serializing null/empty fields

This commit is contained in:
Tim Chamberlain
2022-07-08 15:14:49 -05:00
parent c6b19b0176
commit 07def45086
2 changed files with 2 additions and 3 deletions

View File

@ -58,8 +58,7 @@ public class TestUtils
.withVendor("h2")
.withHostName("mem")
.withDatabaseName("test_database")
.withUsername("sa")
.withPassword("");
.withUsername("sa");
rdbmsBackendMetaData.setName("default");
return (rdbmsBackendMetaData);
}

View File

@ -49,7 +49,7 @@ class RDBMSBackendMetaDataTest
System.out.println(JsonUtils.prettyPrint(json));
System.out.println(json);
String expectToContain = """
"backends":{"default":{"hostName":"mem","password":"","databaseName":"test_database\"""";
"backends":{"default":{"hostName":"mem","databaseName":"test_database\"""";
assertTrue(json.contains(expectToContain));
}