mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
QQQ-21: fixed broken tests due to no longer serializing null/empty fields
This commit is contained in:
@ -58,8 +58,7 @@ public class TestUtils
|
||||
.withVendor("h2")
|
||||
.withHostName("mem")
|
||||
.withDatabaseName("test_database")
|
||||
.withUsername("sa")
|
||||
.withPassword("");
|
||||
.withUsername("sa");
|
||||
rdbmsBackendMetaData.setName("default");
|
||||
return (rdbmsBackendMetaData);
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user