Skip to content
Snippets Groups Projects
Commit 0074da66 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

property name changed

parent 06c61fc8
No related branches found
No related tags found
1 merge request!679Resolve "make lcsb logo configurable"
Pipeline #9025 passed
......@@ -35,17 +35,17 @@ public class ConfigurationDaoTest extends PersistTestFunctions {
assertNull(configurationDao.getValueByType(null));
// check data for something that is in database
String val = configurationDao.getValueByType(ConfigurationElementType.LOGO_TEXT);
String val = configurationDao.getValueByType(ConfigurationElementType.LEFT_LOGO_TEXT);
assertNotNull(val);
// remove data from database
ConfigurationOption obj = configurationDao.getByType(ConfigurationElementType.LOGO_TEXT);
ConfigurationOption obj = configurationDao.getByType(ConfigurationElementType.LEFT_LOGO_TEXT);
if (obj != null) {
configurationDao.delete(obj);
}
// and now check data for something that is not in database
assertNotNull(configurationDao.getValueByType(ConfigurationElementType.LOGO_TEXT));
assertNotNull(configurationDao.getValueByType(ConfigurationElementType.LEFT_LOGO_TEXT));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment